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
fi fi
BASE=$(pwd)
for app in $APPS for app in $APPS
do do
cd $BASE
echo "[server_config] > Deploying: $app" echo "[server_config] > Deploying: $app"
source "./$app/_deploy.sh" \ source "./$app/_deploy.sh" \

View file

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