diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-05-01 17:34:05 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-05-01 17:34:05 +0200 |
commit | 2541ade3f2841f9215e32a1513079e02a1d7a1b9 (patch) | |
tree | a52be4815804edf5bfc63f46ee9a2c20c405c7bd /mklatexreport | |
parent | eb15bf8a8029755dbe51a75187fb4948c2f5d055 (diff) | |
download | bin-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-x | mklatexreport | 6 |
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" . |