summaryrefslogtreecommitdiffstats
path: root/panupdate
diff options
context:
space:
mode:
Diffstat (limited to 'panupdate')
-rwxr-xr-xpanupdate5
1 files changed, 5 insertions, 0 deletions
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