From 78666cd9195c1c2bcc9cd9110b4db5723a88b50d Mon Sep 17 00:00:00 2001 From: mjfernez Date: Fri, 5 Nov 2021 09:25:26 -0400 Subject: Directory changes. Various spelling, format fixes. Also fixes CC being linked to by HTTP instead of HTTPS which causes an annoying message on most browsers --- panupdate | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'panupdate') diff --git a/panupdate b/panupdate index 9834543..80af7ca 100755 --- a/panupdate +++ b/panupdate @@ -10,5 +10,10 @@ do echo "Saved "$file" to "$newfile pandoc --ascii -f markdown-smart $file -t html -o $newfile fi + if [[ "$file" == *.description ]] + then + newfile=$(sed "s/\.md\///" <<< $file) + cp -v $file $newfile + fi done done -- cgit v1.2.3