fix: reset working directory at each step

This commit is contained in:
Julien Oculi 2024-06-05 18:10:40 +02:00
parent 5297c81fee
commit 737e92f423
2 changed files with 6 additions and 0 deletions

View file

@ -11,8 +11,11 @@ if [[ $# -eq 1 ]]; then
fi
fi
BASE=$(pwd)
for app in $APPS
do
cd $BASE
echo "[server_config] > Deploying: $app"
source "./$app/_deploy.sh" \

View file

@ -11,8 +11,11 @@ if [[ $# -eq 1 ]]; then
fi
fi
BASE=$(pwd)
for app in $APPS
do
cd $BASE
echo "[server_config] > Installing: $app"
source "./$app/_install.sh" \