This commit is contained in:
Vague Rabbit 2021-02-09 19:03:33 -08:00
parent 7b43a3f45a
commit 958695d7e1

View file

@ -603,9 +603,9 @@ cd $HD/saleor
wait
set -x
# Was the -v (version) option used?
if [ "vOPT" = "true" || "$VERSION" != "" ]; then
if [ "vOPT" = "true" ] || [ "$VERSION" != "" ]; then
# Checkout the specified version
sudo -u $UN git checkout "$VERSION"
sudo -u $UN git checkout $VERSION
wait
fi
source $HD/env/saleor/bin/activate