mirror of https://github.com/zulip/zulip.git
test-install/install: Print usage when run without arguments.
The `-z "$INSTALLER"` was intended to do this -- but we don't get that far, because the `shift` fails.
This commit is contained in:
parent
2d11e163dd
commit
6613f4c22c
|
@ -16,7 +16,7 @@ while true; do
|
|||
*) usage;;
|
||||
esac
|
||||
done
|
||||
INSTALLER="$1"; shift
|
||||
INSTALLER="$1"; shift || usage
|
||||
INSTALLER_ARGS=("$@"); set --
|
||||
|
||||
if [ -z "$RELEASE" ] || [ -z "$INSTALLER" ]; then
|
||||
|
|
Loading…
Reference in New Issue