added backticks to git version select statement

This commit is contained in:
Vague Rabbit 2021-02-09 16:38:39 -08:00
parent 6bde3dc9fa
commit 6dac48edf5
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ fi
cd saleor-dashboard cd saleor-dashboard
# Was the -v (version) option used? # Was the -v (version) option used?
if [ "vOPT" = "true" || $VERSION = "" ]; then if [ "vOPT" = "true" || $VERSION = "" ]; then
sudo -u $UN git checkout $VERSION sudo -u $UN git checkout `$VERSION`
fi fi
# Install dependancies # Install dependancies
sudo -u $UN npm i sudo -u $UN npm i

View file

@ -604,7 +604,7 @@ cd $HD/saleor
# Was the -v (version) option used? # Was the -v (version) option used?
if [ "vOPT" = "true" || $VERSION != "" ]; then if [ "vOPT" = "true" || $VERSION != "" ]; then
# Checkout the specified version # Checkout the specified version
git checkout $VERSION sudo -u $UN git checkout `$VERSION`
wait wait
fi fi
# Install the project requirements # Install the project requirements