From d1efa7942a7477d9e03b499933b4d13585359a51 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Thu, 10 Jun 2021 12:45:09 -0500 Subject: [PATCH] fix: Do not use realpath in update / bootstrap scripts --- script/console | 5 ++--- script/server | 3 +-- script/test | 3 +-- script/update | 3 +-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/script/console b/script/console index 28711888..ffe2c704 100755 --- a/script/console +++ b/script/console @@ -3,9 +3,8 @@ set -x set -e -FULL_PATH=$(realpath $0) -DIR_PATH=$(dirname $FULL_PATH) +DIR_PATH=$(dirname $0) $DIR_PATH/update -iex -S mix \ No newline at end of file +iex -S mix diff --git a/script/server b/script/server index 66d85385..9dea5283 100755 --- a/script/server +++ b/script/server @@ -3,8 +3,7 @@ set -x set -e -FULL_PATH=$(realpath $0) -DIR_PATH=$(dirname $FULL_PATH) +DIR_PATH=$(dirname $0) $DIR_PATH/update diff --git a/script/test b/script/test index 7ad18596..fb456593 100755 --- a/script/test +++ b/script/test @@ -3,8 +3,7 @@ set -x set -e -FULL_PATH=$(realpath $0) -DIR_PATH=$(dirname $FULL_PATH) +DIR_PATH=$(dirname $0) $DIR_PATH/bootstrap diff --git a/script/update b/script/update index 6771deb1..1e92daf3 100755 --- a/script/update +++ b/script/update @@ -3,8 +3,7 @@ set -x set -e -FULL_PATH=$(realpath $0) -DIR_PATH=$(dirname $FULL_PATH) +DIR_PATH=$(dirname $0) $DIR_PATH/bootstrap