diff options
Diffstat (limited to 'mk')
-rwxr-xr-x | mk | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |