From 41fc2afa83ab734284a99ac0db37cfa29efe9667 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 5 Jun 2022 20:08:41 +0200 Subject: [PATCH] Test absolute script path --- arch-setup/install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 54180d00..ac62318e 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -3,8 +3,11 @@ set -euo pipefail # get script directory -scriptloc="$BASH_SOURCE" +scriptloc=$(realpath "$BASH_SOURCE") setupdir=$(dirname "$scriptloc") +echo $scriptloc +echo $setupdir +exit #setupdir=$(pwd) #change to home directory @@ -432,8 +435,9 @@ echo Finished downloading config #cleanup -rm -rf "$setupdir" -echo Removed setup files +# TODO make this work again +#rm -rf "$setupdir" +#echo Removed setup files #downloading config echo Setting config