build-latex.sh: Don't panic if Bibtex fails.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 3 Oct 2017 02:26:53 +0000 (03:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 3 Oct 2017 02:26:53 +0000 (03:26 +0100)
This is unfortunate, but Bibtex panics far too readily, particularly
over duplicate entries.

build-latex.sh

index b772418..8e1b400 100755 (executable)
@@ -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