diff options
Diffstat (limited to 'panupdate')
-rwxr-xr-x | panupdate | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |