about summary refs log tree commit diff stats
path: root/build/latex/presentation/build.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:48:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:48:21 +0200
commit0a269caba85895d86ab2caf6aa5f0bd14643b4b1 (patch)
treebebffe87939587b992139aac311f591c353a0cf3 /build/latex/presentation/build.sh
parentrefactor(common/scritps/latex/extract_text_from_all): Remove (diff)
downloadflake-templates-0a269caba85895d86ab2caf6aa5f0bd14643b4b1.tar.gz
flake-templates-0a269caba85895d86ab2caf6aa5f0bd14643b4b1.zip
chore(build): Recreate
Diffstat (limited to '')
-rwxr-xr-xbuild/latex/presentation/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/latex/presentation/build.sh b/build/latex/presentation/build.sh
index 1ff2b6e..80ecc57 100755
--- a/build/latex/presentation/build.sh
+++ b/build/latex/presentation/build.sh
@@ -46,8 +46,8 @@ fd . "$root/figures" --type file --extension tex | while read -r figure; do
         echo "   -> Didn't change, not re-compiling."
     else
         echo "$figure_hash" >"$dst/figures/$figure_name/$figure_name.sha256sum_hash"
-        pdflatex -output-directory="$dst" -file-line-error -jobname="figures/$figure_name/$figure_name" "$figure"
+        pdflatex -output-directory="$dst" -file-line-error -jobname="figures/$figure_name/$figure_name" "$figure" || exit 1
     fi
-done
+done || exit 1
 
 latexmk -outdir="$dst" -file-line-error -pdflatex -recorder "$file"