Skip to content

Commit

Permalink
Merge pull request #665 from StackStorm/fix_install_minusv
Browse files Browse the repository at this point in the history
-v doesn't allow you to set version
  • Loading branch information
amanda11 authored Nov 6, 2020
2 parents 29e4c4c + 81d3605 commit 5b940ac
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/st2_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-deb.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-el7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-el7.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-el8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/st2bootstrap-el8.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ setup_args() {
for i in "$@"
do
case $i in
-v|--version=*)
-v=*|--version=*)
VERSION="${i#*=}"
shift
;;
Expand Down

0 comments on commit 5b940ac

Please sign in to comment.