fix if statements

pull/11402/head
Sharif Elgamal 2021-05-13 10:16:04 -07:00
parent 98e7cbf4d3
commit ad4716813a
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ yes|gcloud auth configure-docker
# Make sure gh is installed and configured # Make sure gh is installed and configured
./hack/jenkins/installers/check_install_gh.sh ./hack/jenkins/installers/check_install_gh.sh
if [ "$SP_VERSION" -ne "v*" ]; then if [[ $SP_VERSION != v* ]]; then
SP_VERSION=v$SP_VERSION SP_VERSION=v$SP_VERSION
fi fi
SED="sed -i" SED="sed -i"
if [ "$(uname)" -eq "Darwin" ]; then if [ "$(uname)" = "Darwin" ]; then
SED="sed -i ''" SED="sed -i ''"
fi fi