Rev on the markdown standards

This commit is contained in:
Ian Gulliver
2019-04-14 22:45:25 +00:00
parent 22b83149aa
commit f967a85482
3 changed files with 32 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ for FILE in $BASEDIR/*.md; do
BASENAME=$(basename $FILE)
OUTNAME=${BASENAME%.md}.html
echo "$BASENAME -> $OUTNAME"
TEMP=$(tempfile --dir=$BASEDIR)
TEMP=$(tempfile --dir=$BASEDIR --mode=0644)
markdown $FILE > $TEMP
mv $TEMP $BASEDIR/../$OUTNAME
done