summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rwxr-xr-xmk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk b/mk
index af29f1e2..8da15f5b 100755
--- a/mk
+++ b/mk
@@ -12,10 +12,12 @@ fi
. "include/lib.sh"
. "include/init.sh"
+. "include/vendor.sh"
. "include/inject.sh"
. "include/mrc.sh"
. "include/rom.sh"
. "include/release.sh"
+. "include/get.sh"
main()
{
@@ -24,16 +26,14 @@ main()
case "$cmd" in
version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;;
release|download|inject) $cmd "$@" ;;
- -*) return 0 ;;
+ -*) return 1 ;;
*) err "bad command" ;;
esac
set -u -e # some commands disable them. turn them on!
- return 1
}
-main "$@" || exit 0
+main "$@" && exit 0
-. "include/git.sh"
. "include/tree.sh"
trees "$@" || exit 0