aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-05 08:14:08 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-05 08:14:08 +0300
commit0da28a5de5876e404009cd8dcd4aa131750bea83 (patch)
treef50f66cd6094d88c65e04bcafdf8969d3cde5192 /bin
parentfbbb358b8faf7e966ffa476cd1125673c69b3ab6 (diff)
downloadarching-kaos-tools-0da28a5de5876e404009cd8dcd4aa131750bea83.tar.gz
arching-kaos-tools-0da28a5de5876e404009cd8dcd4aa131750bea83.tar.bz2
arching-kaos-tools-0da28a5de5876e404009cd8dcd4aa131750bea83.zip
Makes use of ak-tempassin instead of static temp dir
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-sm-merkle-tree4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-sm-merkle-tree b/bin/ak-sm-merkle-tree
index 0fe8f7a..4a45c0e 100755
--- a/bin/ak-sm-merkle-tree
+++ b/bin/ak-sm-merkle-tree
@@ -37,9 +37,9 @@ FILEMAPSDIR="$AK_WORKDIR/fmp/"
# Merkle tree file/references
MERKLEDIR="$AK_WORKDIR/fmrk/"
# A temporary root dir to work on
-TEMPORARYDIR="/tmp/tltmp"
+TEMPORARYDIR="$(ak-tempassin)"
# A subdir to split the files there
-TECHDIR="/tmp/tltmp/chks/"
+TECHDIR="$TEMPORARYDIR/chks/"
# A pin point to return from where we came from
CURRENTDIR="$(pwd)/"