diff options
Diffstat (limited to '')
-rwxr-xr-x | templates/latex/build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/latex/build.sh b/templates/latex/build.sh index 1932138..55dae94 100755 --- a/templates/latex/build.sh +++ b/templates/latex/build.sh @@ -8,8 +8,7 @@ else fi # find all directories which are not the destination dir or inside it -find . -type d -not -name "$dst" -not -path "./$dst/*" -printf '%P\n' | while IFS= read -r dir -do +find . -type d -not -name "$dst" -not -path "./$dst/*" -printf '%P\n' | while IFS= read -r dir; do mkdir --parents "$dst/$dir" done latexmk -outdir="$dst" -file-line-error -pdflatex -recorder ./main.tex |