From 255cfac07b83e1e9840f0ca4d30a67272ee12209 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 17 Mar 2023 17:14:04 +0100 Subject: Fix(hm/conf/lf): Update to new shell lib version --- home-manager/config/lf/cmds/mk_scr | 4 ---- 1 file changed, 4 deletions(-) (limited to 'home-manager/config/lf/cmds/mk_scr') diff --git a/home-manager/config/lf/cmds/mk_scr b/home-manager/config/lf/cmds/mk_scr index 82ea3733..6857e8f6 100755 --- a/home-manager/config/lf/cmds/mk_scr +++ b/home-manager/config/lf/cmds/mk_scr @@ -4,8 +4,6 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH - - script=$(mktmp) cat << EOF > $script #!/usr/bin/env dash @@ -15,7 +13,6 @@ cat << EOF > $script -if [ -d "\$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "\$LIB_TEMP_DIR_FOR_SCRIPT"; fi EOF readp "Script Name: " script_name @@ -29,7 +26,6 @@ done cat "$script" > "$scr" chmod +x "$scr" -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi "$VISUAL" "$scr" # vim: ft=sh -- cgit 1.4.1