about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/archive
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhome-manager/config/lf/cmds/archive5
1 files changed, 2 insertions, 3 deletions
diff --git a/home-manager/config/lf/cmds/archive b/home-manager/config/lf/cmds/archive
index b25cb3e1..d9a0e88c 100755
--- a/home-manager/config/lf/cmds/archive
+++ b/home-manager/config/lf/cmds/archive
@@ -4,7 +4,7 @@
 # . ~/.local/lib/shell/lib
 . %SHELL_LIBRARY_PATH
 
-LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d)
+
 
 # Option '-f' disables pathname expansion which can be useful when $f, $fs, and
 # $fx variables contain names with '*' or '?' characters. However, this option
@@ -12,8 +12,7 @@ LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d)
 # times.
 set -f
 
-archivers=$(mktmp)
-echo "gzip xz 7z zip" > $archivers;
+archivers=$(tmp 'echo "gzip xz 7z zip"');
 
 readp "File Name: " name