From 64938e2bbb45cfa032fee350140f9d25105a3c22 Mon Sep 17 00:00:00 2001 From: veclav talica Date: Mon, 22 May 2023 18:30:16 +0500 Subject: [PATCH] exit shell on subprocess error --- compile.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compile.sh b/compile.sh index e894934..4f67219 100755 --- a/compile.sh +++ b/compile.sh @@ -1,5 +1,7 @@ #!/bin/sh +set +e + mkdir -p ./html/articles ./tools/main_page_generator.py ./articles | ./tools/mmd/build/multimarkdown > ./html/index.html