about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 13:37:08 +0100
committerene <ene@sils.li>2023-02-19 13:37:08 +0100
commitbfcebf8ac113181a9307fe6431c064497bc60d7b (patch)
treee706f25feadad03fb62003ca02e6ccb54073a72d /home-manager/config
parentFix(system): Fix typos (diff)
downloadnixos-config-bfcebf8ac113181a9307fe6431c064497bc60d7b.tar.gz
nixos-config-bfcebf8ac113181a9307fe6431c064497bc60d7b.zip
Fix(lf): Update to new lib version
Diffstat (limited to '')
-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