Fixed possible pathing issue

This commit is contained in:
Dunemask 2021-08-23 20:33:50 -06:00
parent a383257bdd
commit 05d121b08b

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
echo "Creating vanilla predeploy!" echo "Creating vanilla predeploy!"
# Set path correclty # Set path correclty
if [[ $PWD == *"dist"* ]]; echo "$PWD"
if [[ $PWD == *"dist" ]];
then cd .. then cd ..
fi fi
# If .env exists, ignore it # If .env exists, ignore it