diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-09-19 12:13:37 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-09-19 12:13:37 +0000 |
commit | af3721de0a210dd4fc55f377538f49c1d44e27d2 (patch) | |
tree | 8cfeda9f28885b9c2b3998a3a3ba079e893a1f3f /pkgs/misc | |
parent | f772de22a156dafdf37c0bdf0c1bc52436e1a997 (diff) |
* Slightly evil: compress the log file to prevent TeX output from
retaining a dependency on teTeX. svn path=/nixpkgs/trunk/; revision=6559
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/tex/nix/run-latex.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/misc/tex/nix/run-latex.sh b/pkgs/misc/tex/nix/run-latex.sh index 9e23aa21fa780..7127206606b24 100644 --- a/pkgs/misc/tex/nix/run-latex.sh +++ b/pkgs/misc/tex/nix/run-latex.sh @@ -30,6 +30,7 @@ showError() { echo echo "LATEX ERROR (LAST LOG LINES SHOWN):" tail -n 20 $tmpFile + bzip2 $tmpFile exit 1 } @@ -115,3 +116,5 @@ printf "%5d undefined citations\n" $(cat $tmpFile | grep -c "Citation.*undefined printf "%5d pages\n" \ $(cat $tmpFile | grep "Output written.*(.*pages" | sed "s/.*(\([0-9]*\) pages.*/\1/" || true) echo + +bzip2 $tmpFile |