From 939523b56599786e1424453d2bf1af13be616e4e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 15:09:52 +0200 Subject: [PATCH] updated markdown_replace_index.sh --- git/markdown_replace_index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/markdown_replace_index.sh b/git/markdown_replace_index.sh index 94306e07..063531ab 100755 --- a/git/markdown_replace_index.sh +++ b/git/markdown_replace_index.sh @@ -87,10 +87,10 @@ sed -n " /INDEX_END/,$ p " "$markdown_file" > "$markdown_tmp" -unalias mv &>/dev/null || : +#unalias mv &>/dev/null || : mv -f "$markdown_tmp" "$markdown_file" -unalias rm &>/dev/null || : +#unalias rm &>/dev/null || : rm -f "$index_tmp" timestamp "Replaced index in file: $markdown_file"