summaryrefslogtreecommitdiffstats
path: root/mklatexreport
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-05-01 17:34:05 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-05-01 17:34:05 +0200
commit2541ade3f2841f9215e32a1513079e02a1d7a1b9 (patch)
treea52be4815804edf5bfc63f46ee9a2c20c405c7bd /mklatexreport
parenteb15bf8a8029755dbe51a75187fb4948c2f5d055 (diff)
downloadbin-2541ade3f2841f9215e32a1513079e02a1d7a1b9.tar.gz
bin-2541ade3f2841f9215e32a1513079e02a1d7a1b9.tar.xz
Improve latex report scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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" .