Test absolute script path
This commit is contained in:
parent
236d101c42
commit
41fc2afa83
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user