summaryrefslogtreecommitdiffstats
path: root/mkballots.sh
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-11-02 02:38:10 -0600
committerH. Peter Anvin <hpa@zytor.com>2016-11-02 02:38:10 -0600
commita1052d94945860ff7e05bfc2008c75188663be40 (patch)
tree185a3e9f26b61774d9421370d5b559168b2d97b1 /mkballots.sh
parent36ceca1ae8156095ba1e41b4a5b571e8a069b94c (diff)
downloadballot-a1052d94945860ff7e05bfc2008c75188663be40.tar.gz
ballot-a1052d94945860ff7e05bfc2008c75188663be40.tar.xz
ballot-a1052d94945860ff7e05bfc2008c75188663be40.zip
mkballots: no reason to keep the temp file around
We don't need to keep the temp file around; it is automatically copied into the project directory as questionnarie.tex anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mkballots.sh')
-rwxr-xr-xmkballots.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkballots.sh b/mkballots.sh
index fb4b999..5831fff 100755
--- a/mkballots.sh
+++ b/mkballots.sh
@@ -17,6 +17,7 @@ rm -rf "$proj"
sed -e "s:%%CANDIDATES%%:shuf --random-source=/dev/urandom < '$proj'.cand:e" \
-e 'T' -e 's/^\(.*\)$/\\choiceline{\1}/mg' "$proj".tex > "$proj".pp.tex
$sdaps setup_tex "$proj".pp.tex
+rm "$proj".pp.tex
scoresheet.pl "$proj" > "$proj"/scoresheet.tex
cd "$proj"
pdflatex scoresheet.tex ; pdflatex scoresheet.tex