diff options
Diffstat (limited to 'home-manager/config/lf/cmds/mk_scr')
-rwxr-xr-x | home-manager/config/lf/cmds/mk_scr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/home-manager/config/lf/cmds/mk_scr b/home-manager/config/lf/cmds/mk_scr index 12efe315..82ea3733 100755 --- a/home-manager/config/lf/cmds/mk_scr +++ b/home-manager/config/lf/cmds/mk_scr @@ -4,7 +4,7 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH -LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d) + script=$(mktmp) cat << EOF > $script @@ -13,9 +13,6 @@ cat << EOF > $script # shellcheck source=/dev/null . %SHELL_LIBRARY_PATH -LIB_TEMP_DIR_FOR_SCRIPT=\$(mktemp -d) - - if [ -d "\$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "\$LIB_TEMP_DIR_FOR_SCRIPT"; fi |