Test absolute script path
This commit is contained in:
parent
236d101c42
commit
41fc2afa83
@ -3,8 +3,11 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# get script directory
|
# get script directory
|
||||||
scriptloc="$BASH_SOURCE"
|
scriptloc=$(realpath "$BASH_SOURCE")
|
||||||
setupdir=$(dirname "$scriptloc")
|
setupdir=$(dirname "$scriptloc")
|
||||||
|
echo $scriptloc
|
||||||
|
echo $setupdir
|
||||||
|
exit
|
||||||
#setupdir=$(pwd)
|
#setupdir=$(pwd)
|
||||||
|
|
||||||
#change to home directory
|
#change to home directory
|
||||||
@ -432,8 +435,9 @@ echo Finished downloading config
|
|||||||
|
|
||||||
|
|
||||||
#cleanup
|
#cleanup
|
||||||
rm -rf "$setupdir"
|
# TODO make this work again
|
||||||
echo Removed setup files
|
#rm -rf "$setupdir"
|
||||||
|
#echo Removed setup files
|
||||||
|
|
||||||
#downloading config
|
#downloading config
|
||||||
echo Setting config
|
echo Setting config
|
||||||
|
Loading…
Reference in New Issue
Block a user