* Slightly evil: compress the log file to prevent TeX output from
retaining a dependency on teTeX. svn path=/nixpkgs/trunk/; revision=6559
This commit is contained in:
parent
f772de22a1
commit
af3721de0a
|
@ -30,6 +30,7 @@ showError() {
|
||||||
echo
|
echo
|
||||||
echo "LATEX ERROR (LAST LOG LINES SHOWN):"
|
echo "LATEX ERROR (LAST LOG LINES SHOWN):"
|
||||||
tail -n 20 $tmpFile
|
tail -n 20 $tmpFile
|
||||||
|
bzip2 $tmpFile
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,3 +116,5 @@ printf "%5d undefined citations\n" $(cat $tmpFile | grep -c "Citation.*undefined
|
||||||
printf "%5d pages\n" \
|
printf "%5d pages\n" \
|
||||||
$(cat $tmpFile | grep "Output written.*(.*pages" | sed "s/.*(\([0-9]*\) pages.*/\1/" || true)
|
$(cat $tmpFile | grep "Output written.*(.*pages" | sed "s/.*(\([0-9]*\) pages.*/\1/" || true)
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
bzip2 $tmpFile
|
||||||
|
|
Loading…
Reference in New Issue