cd into template dir when building
This commit is contained in:
parent
5f595e460d
commit
de2203b43c
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -20,7 +20,7 @@ fi
|
|||
PANDOC_ARGS="$INPUT_FILES --lua-filter=$SCRIPTPATH/variables.lua --template $SCRIPTPATH/main.tex -o $OUTPUT_FILE $ADDITIONAL_ARGS"
|
||||
|
||||
echo "> Building document..."
|
||||
pandoc $PANDOC_ARGS
|
||||
cd $SCRIPTPATH && pandoc $PANDOC_ARGS
|
||||
|
||||
echo "> Running second pass..."
|
||||
pandoc --lua-filter=$SCRIPTPATH/word-count.lua $PANDOC_ARGS
|
||||
cd $SCRIPTPATH && pandoc --lua-filter=$SCRIPTPATH/word-count.lua $PANDOC_ARGS
|
||||
|
|
Reference in a new issue