svn path=/nixpkgs/trunk/; revision=10964

This commit is contained in:
Eelco Dolstra 2008-03-05 14:37:41 +00:00
parent c65fa45df9
commit f212e0380e

View File

@ -37,7 +37,10 @@ showError() {
runLaTeX() {
if ! $latex $latexFlags $rootName >$tmpFile 2>&1; then showError; fi
runNeeded=
if grep -q "LaTeX Warning: Label(s) may have changed." "$tmpFile"; then
if fgrep -q \
-e "LaTeX Warning: Label(s) may have changed." \
-e "Rerun to get citations correct." \
"$tmpFile"; then
runNeeded=1
fi
}