From d2df47d38297827e90a43bdc1286c186f127c0d5 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Mon, 10 Apr 2017 10:42:33 +0200 Subject: [PATCH] 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. --- script/glide.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/glide.sh b/script/glide.sh index e7ed6a275..ced07f71a 100755 --- a/script/glide.sh +++ b/script/glide.sh @@ -86,7 +86,7 @@ case "${glide_command}" in usage exit 1 fi - GLIDE_ARGS=("$1" "${GLIDE_ARGS[@]}") + GLIDE_ARGS+=("$1") shift ;;