From 46d83337dee68cbfcff189f48c71e298d2fe5fef Mon Sep 17 00:00:00 2001 From: amanda Date: Fri, 9 Oct 2020 12:12:13 +0100 Subject: [PATCH 1/2] -v doesn't allow you to set version --- scripts/st2_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; From 9070aa4746dedc4b4c6a852c854a28a83a20eeeb Mon Sep 17 00:00:00 2001 From: amanda Date: Thu, 29 Oct 2020 15:28:39 +0000 Subject: [PATCH 2/2] Updated -v on bootstrap files --- scripts/st2bootstrap-deb.sh | 2 +- scripts/st2bootstrap-deb.template.sh | 2 +- scripts/st2bootstrap-el7.sh | 2 +- scripts/st2bootstrap-el7.template.sh | 2 +- scripts/st2bootstrap-el8.sh | 2 +- scripts/st2bootstrap-el8.template.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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 ;;