about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/config/lf/cmds/mk_scr.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/home-manager/config/lf/cmds/mk_scr.sh b/home-manager/config/lf/cmds/mk_scr.sh
index b6c17458..4b80e564 100644
--- a/home-manager/config/lf/cmds/mk_scr.sh
+++ b/home-manager/config/lf/cmds/mk_scr.sh
@@ -10,11 +10,12 @@ cat << EOF > $star
 # shellcheck source=/dev/null
 . ~/.local/lib/shell/lib
 
+LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d)
 
 
 
 
-if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi
+if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi
 EOF
 
 readp "Script Name: " script_name