fix: reset working directory at each step
This commit is contained in:
parent
5297c81fee
commit
737e92f423
|
@ -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" \
|
||||||
|
|
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue