fix(build): extra options in latex build script
This commit is contained in:
parent
7b21f50af4
commit
1ba155c8e5
1 changed files with 6 additions and 1 deletions
|
@ -23,7 +23,12 @@ SOURCE=build/latex/resume_$TARGET_LOCALE
|
||||||
|
|
||||||
echo "Source=$SOURCE"
|
echo "Source=$SOURCE"
|
||||||
|
|
||||||
wget $SERVER_URL/latex-resume --header="Accept-Language: $TARGET_LOCALE" -O $SOURCE.tex
|
if [ -n $OPTS ]
|
||||||
|
then
|
||||||
|
EXTRA_URL="?$OPTS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wget $SERVER_URL/latex-resume$EXTRA_URL --header="Accept-Language: $TARGET_LOCALE" -O $SOURCE.tex
|
||||||
pdflatex --output-directory=build/latex -halt-on-error -shell-escape $SOURCE.tex
|
pdflatex --output-directory=build/latex -halt-on-error -shell-escape $SOURCE.tex
|
||||||
|
|
||||||
[ ! -d ./.latex_cache ] && mkdir ./.latex_cache
|
[ ! -d ./.latex_cache ] && mkdir ./.latex_cache
|
||||||
|
|
Loading…
Reference in a new issue