Skip to content

Commit

Permalink
Merge "[FAB-13749] bootstrap.sh: Fix "[: too many arguments""
Browse files Browse the repository at this point in the history
  • Loading branch information
christo4ferris authored and Gerrit Code Review committed Feb 5, 2019
2 parents e108ccc + 0dd6fb2 commit e8408b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ BINARIES=true

# Parse commandline args pull out
# version and/or ca-version strings first
if [ ! -z "$1" -a ${1:0:1} != "-" ]; then
if [ ! -z "$1" -a "${1:0:1}" != "-" ]; then
VERSION=$1;shift
if [ ! -z "$1" -a ${1:0:1} != "-" ]; then
if [ ! -z "$1" -a "${1:0:1}" != "-" ]; then
CA_VERSION=$1;shift
if [ ! -z "$1" -a ${1:0:1} != "-" ]; then
if [ ! -z "$1" -a "${1:0:1}" != "-" ]; then
THIRDPARTY_IMAGE_VERSION=$1;shift
fi
fi
Expand Down

0 comments on commit e8408b1

Please sign in to comment.