From c10867f89a0ff30ba62d036c169b9a73503444c1 Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Tue, 9 Feb 2021 17:16:42 -0800 Subject: [PATCH] ^ --- deploy-dashboard.sh | 2 +- deploy.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy-dashboard.sh b/deploy-dashboard.sh index 76691c7..a37c10b 100644 --- a/deploy-dashboard.sh +++ b/deploy-dashboard.sh @@ -73,7 +73,7 @@ fi cd saleor-dashboard # Was the -v (version) option used? if [ "vOPT" = "true" || $VERSION = "" ]; then - sudo -u $UN git checkout `$VERSION` + sudo -u $UN git checkout $VERSION fi # Install dependancies sudo -u $UN npm i diff --git a/deploy.sh b/deploy.sh index f5c2bcb..f9a8a75 100644 --- a/deploy.sh +++ b/deploy.sh @@ -344,10 +344,10 @@ fi # if [ "$vOPT" = "true" ]; then if [ "$VERSION" = "" ]; then - VERSION="2.11.1" + VERSION="'2.11.1'" fi else - VERSION="2.11.1" + VERSION="'2.11.1'" fi # if [ "$STATIC_URL" = "" ]; then @@ -604,7 +604,7 @@ cd $HD/saleor # Was the -v (version) option used? if [ "vOPT" = "true" || $VERSION != "" ]; then # Checkout the specified version - sudo -u $UN git checkout `$VERSION` + sudo -u $UN git checkout $VERSION wait fi # Install the project requirements