aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-08 19:30:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-08 19:30:37 +0300
commit025f027d9add0751c9fbaa6ffdc728bba61ca4de (patch)
treed37cf6a8f17b8f374fb1216c4bc875b32bf1e6f0
parent490c94fef4446b3b8408b81788cf5e24eb018b8a (diff)
downloadarching-kaos-tools-025f027d9add0751c9fbaa6ffdc728bba61ca4de.tar.gz
arching-kaos-tools-025f027d9add0751c9fbaa6ffdc728bba61ca4de.tar.bz2
arching-kaos-tools-025f027d9add0751c9fbaa6ffdc728bba61ca4de.zip
Outputing the directory we were called from to reference the path later
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
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