From: Mark Wooding Date: Tue, 3 Oct 2017 02:26:53 +0000 (+0100) Subject: build-latex.sh: Don't panic if Bibtex fails. X-Git-Url: https://git.distorted.org.uk/~mdw/doc/wrestlers/commitdiff_plain/bb06fa14f7466d06bf90b862871039fe8f4c27d9 build-latex.sh: Don't panic if Bibtex fails. This is unfortunate, but Bibtex panics far too readily, particularly over duplicate entries. --- diff --git a/build-latex.sh b/build-latex.sh index b772418..8e1b400 100755 --- a/build-latex.sh +++ b/build-latex.sh @@ -13,7 +13,7 @@ for i in toc lot lof aux ind idx ilg bbl blg log; do done $tex -jobname "$jobname" "\\relax $preamble \\input $file" -case ",$opts," in *,bibtex,*) bibtex "$jobname".aux;; esac +case ",$opts," in *,bibtex,*) bibtex "$jobname".aux || :;; esac $tex -jobname "$jobname" "\\relax $preamble \\input $file" $tex -jobname "$jobname" "\\relax $preamble \\input $file" case ",$opts," in