From 17924f9d0743985458d2abe06c54887fbc59391b Mon Sep 17 00:00:00 2001 From: Thilo Fromm Date: Wed, 6 Oct 2021 11:44:15 +0200 Subject: [PATCH] set_version: safely iterate over argv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kai Lüke --- set_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_version b/set_version index 81e05af491..675d612e5f 100755 --- a/set_version +++ b/set_version @@ -49,7 +49,7 @@ fi # --binhost needs to be evaluated first since it impacts other variables set below custom_binhost="false" -for arg in ${@} ; do +for arg in "${@}" ; do if $custom_binhost; then echo "Using custom binhost '${arg}'" DEFAULT_BASE_URL="${arg}"