summaryrefslogtreecommitdiffstats
path: root/mklatexreport
diff options
context:
space:
mode:
Diffstat (limited to 'mklatexreport')
-rwxr-xr-xmklatexreport6
1 files changed, 4 insertions, 2 deletions
diff --git a/mklatexreport b/mklatexreport
index 4c943a2..4116244 100755
--- a/mklatexreport
+++ b/mklatexreport
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
-latexmk -shell-escape "$1" </dev/null
-mv "out/$1.pdf" .
+filename=${1:-report}
+
+latexmk -shell-escape "$filename" </dev/null
+mv "out/$filename.pdf" .