diff --git a/deploy-dashboard.sh b/deploy-dashboard.sh index a37c10b..04d8f30 100644 --- a/deploy-dashboard.sh +++ b/deploy-dashboard.sh @@ -72,7 +72,7 @@ fi # Make sure we're in the project root directory cd saleor-dashboard # Was the -v (version) option used? -if [ "vOPT" = "true" || $VERSION = "" ]; then +if [ "vOPT" = "true" ] || [ "$VERSION" = "" ]; then sudo -u $UN git checkout $VERSION fi # Install dependancies