glide.sh: Push argument to GLIDE_ARGS array.

The array is empty in the beginning, so referencing ${GLIDE_ARGS[@]}
produces an error due to nounset.
This commit is contained in:
Timo Reimann 2017-04-10 10:42:33 +02:00
parent 0cc3d05515
commit d2df47d382

View file

@ -86,7 +86,7 @@ case "${glide_command}" in
usage usage
exit 1 exit 1
fi fi
GLIDE_ARGS=("$1" "${GLIDE_ARGS[@]}") GLIDE_ARGS+=("$1")
shift shift
;; ;;