From: Thierry Parmentelat Date: Sat, 4 Jun 2011 12:23:46 +0000 (+0200) Subject: work around a bug in latex; initialize the latex system X-Git-Tag: 5.0-rc22~57 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=e8e6741a9275db2929fbf6b48a71c150a2058998;p=build.git work around a bug in latex; initialize the latex system --- diff --git a/latex-first-run.sh b/latex-first-run.sh new file mode 100755 index 00000000..95dc8702 --- /dev/null +++ b/latex-first-run.sh @@ -0,0 +1,13 @@ +#!/bin/bash +echo "Running latex and pdflatex on a dummy input" +cd /tmp +cat > latex-dummy.tex <& /dev/null +pdflatex latex-dummy < /dev/null >& /dev/null + diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index e03881fe..00e8e675 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -216,6 +216,9 @@ function build () { MAKEVARS=("BASE=${BASE}" "${MAKEVARS[@]}") + # initialize latex + /build/latex-first-run.sh + # stage1 make -C /build $DRY_RUN "${MAKEVARS[@]}" stage1=true # versions