mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
set_version: safely iterate over argv
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
parent
eaff2d47eb
commit
17924f9d07
@ -49,7 +49,7 @@ fi
|
|||||||
|
|
||||||
# --binhost needs to be evaluated first since it impacts other variables set below
|
# --binhost needs to be evaluated first since it impacts other variables set below
|
||||||
custom_binhost="false"
|
custom_binhost="false"
|
||||||
for arg in ${@} ; do
|
for arg in "${@}" ; do
|
||||||
if $custom_binhost; then
|
if $custom_binhost; then
|
||||||
echo "Using custom binhost '${arg}'"
|
echo "Using custom binhost '${arg}'"
|
||||||
DEFAULT_BASE_URL="${arg}"
|
DEFAULT_BASE_URL="${arg}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user