diff --git a/scripts/st2_bootstrap.sh b/scripts/st2_bootstrap.sh index d8888038..81465cf9 100644 --- a/scripts/st2_bootstrap.sh +++ b/scripts/st2_bootstrap.sh @@ -28,7 +28,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-deb.sh b/scripts/st2bootstrap-deb.sh index 03ae4262..04c96af4 100644 --- a/scripts/st2bootstrap-deb.sh +++ b/scripts/st2bootstrap-deb.sh @@ -32,7 +32,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-deb.template.sh b/scripts/st2bootstrap-deb.template.sh index f6271111..038b74af 100644 --- a/scripts/st2bootstrap-deb.template.sh +++ b/scripts/st2bootstrap-deb.template.sh @@ -24,7 +24,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-el7.sh b/scripts/st2bootstrap-el7.sh index 1b65a0d9..00f02efb 100644 --- a/scripts/st2bootstrap-el7.sh +++ b/scripts/st2bootstrap-el7.sh @@ -26,7 +26,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-el7.template.sh b/scripts/st2bootstrap-el7.template.sh index d007b329..883ca754 100644 --- a/scripts/st2bootstrap-el7.template.sh +++ b/scripts/st2bootstrap-el7.template.sh @@ -18,7 +18,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-el8.sh b/scripts/st2bootstrap-el8.sh index d286ca97..b0f4fcbb 100644 --- a/scripts/st2bootstrap-el8.sh +++ b/scripts/st2bootstrap-el8.sh @@ -30,7 +30,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;; diff --git a/scripts/st2bootstrap-el8.template.sh b/scripts/st2bootstrap-el8.template.sh index fb47b104..47ea8416 100644 --- a/scripts/st2bootstrap-el8.template.sh +++ b/scripts/st2bootstrap-el8.template.sh @@ -22,7 +22,7 @@ setup_args() { for i in "$@" do case $i in - -v|--version=*) + -v=*|--version=*) VERSION="${i#*=}" shift ;;