diff --git a/build.sh b/build.sh index 87389b64..63f605fb 100755 --- a/build.sh +++ b/build.sh @@ -181,7 +181,7 @@ usage() { if test -z $1; then echo "Unrecognized command argument: $a" else - echo "$0 requires at least one argument" + echo "$0 requires one argument" fi echo 'Accepted arguments: "pull", "configure", "build", "package", "install", "clean", "uninstall".' } @@ -202,7 +202,7 @@ for a in $@; do esac done -if test -z $@; then +if [[ -z $@ ]]; then usage no-args fi