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
echo "Creating vanilla predeploy!"
# Set path correclty
if [[ $PWD == *"dist"* ]];
echo "$PWD"
if [[ $PWD == *"dist" ]];
then cd ..
fi
# If .env exists, ignore it