From bb06fa14f7466d06bf90b862871039fe8f4c27d9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 3 Oct 2017 03:26:53 +0100 Subject: [PATCH] build-latex.sh: Don't panic if Bibtex fails. This is unfortunate, but Bibtex panics far too readily, particularly over duplicate entries. --- build-latex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0