aboutsummaryrefslogtreecommitdiff
path: root/modules/reference
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-24 05:41:52 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-24 05:41:52 +0300
commit55626cf414f947be0ce5c8300f97f99421c2e222 (patch)
treeb9d5cdaf482eeacaf3e253b6c806ff0b2272bc06 /modules/reference
parentd14dda9f79215ab44684e0f5a64327a079a6c58f (diff)
downloadarching-kaos-tools-55626cf414f947be0ce5c8300f97f99421c2e222.tar.gz
arching-kaos-tools-55626cf414f947be0ce5c8300f97f99421c2e222.tar.bz2
arching-kaos-tools-55626cf414f947be0ce5c8300f97f99421c2e222.zip
Reworked tempassin to lib/_ak_script
Diffstat (limited to 'modules/reference')
-rwxr-xr-xmodules/reference/main.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/reference/main.sh b/modules/reference/main.sh
index e6c06d3..b17b7ce 100755
--- a/modules/reference/main.sh
+++ b/modules/reference/main.sh
@@ -30,7 +30,7 @@ else
fi
_ak_modules_reference_create(){
- TEMP="$(ak-tempassin)"
+ TEMP="$(_ak_make_temp_directory)"
cd $TEMP
export REFERENCEFILE="$(date -u +%s)"
if [ ! -z $1 ] && [ ! -z $2 ]
@@ -92,7 +92,7 @@ _ak_modules_reference_import(){
}
_ak_modules_reference_add(){
- TEMP="$(ak-tempassin)"
+ TEMP="$(_ak_make_temp_directory)"
cd $TEMP
if [ ! -f $1 ]; then
echo "File $FILE doesn't exist";