Test absolute script path

This commit is contained in:
RealStickman 2022-06-05 20:08:41 +02:00
parent 236d101c42
commit 41fc2afa83

View File

@ -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