Commit a21be78b authored by Fjen Undso's avatar Fjen Undso
Browse files

makepdf.sh: fix parameter shifting

parent fc135afe
......@@ -5,8 +5,9 @@ if [ $# -lt 1 ]; then
fi
if [ "$1" = "--fsr" ]; then
F="fsr"
shift
else
F="finf"
fi
shift
pandoc "$1" --template="pandoc.${F}.latex" -o "${1/${1##*.}}"pdf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment