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