forked from Ivasoft/traefik
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:
@@ -86,7 +86,7 @@ case "${glide_command}" in
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
GLIDE_ARGS=("$1" "${GLIDE_ARGS[@]}")
|
||||
GLIDE_ARGS+=("$1")
|
||||
shift
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user