From 025f027d9add0751c9fbaa6ffdc728bba61ca4de Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 8 Apr 2023 19:30:37 +0300 Subject: Outputing the directory we were called from to reference the path later --- install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 5c58b29..9276ed0 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,7 @@ #!/bin/bash source ./config.sh +printf "%s" $(pwd) > wam +WHEREAMI="$(cat wam)" touch $AK_WORKDIR/logs logthis(){ echo "Install script: $1" >> $AK_WORKDIR/logs -- cgit v1.2.3