From 737e92f423c3261b778a70467826537f97c055f8 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 5 Jun 2024 18:10:40 +0200 Subject: [PATCH] fix: reset working directory at each step --- deploy.sh | 3 +++ install.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index 6d4e331..5420645 100644 --- a/deploy.sh +++ b/deploy.sh @@ -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" \ diff --git a/install.sh b/install.sh index 9c21c5c..84d3ce8 100644 --- a/install.sh +++ b/install.sh @@ -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" \