summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rwxr-xr-xmk7
1 files changed, 3 insertions, 4 deletions
diff --git a/mk b/mk
index b56b7444..8da15f5b 100755
--- a/mk
+++ b/mk
@@ -17,6 +17,7 @@ fi
. "include/mrc.sh"
. "include/rom.sh"
. "include/release.sh"
+. "include/get.sh"
main()
{
@@ -25,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