From f648f5dd13c1d6e967e290a407b1ea4ab004ae14 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@tutamail.com> Date: Mon, 4 May 2020 20:16:06 +0200 Subject: [PATCH] break autocompile when tree fails --- config/autocompile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/autocompile.sh b/config/autocompile.sh index bb968707..f794e44b 100755 --- a/config/autocompile.sh +++ b/config/autocompile.sh @@ -18,8 +18,8 @@ fi if [ $1 = tree ]; then [ -e ../config ] || ( echo "You don't have a local config repo" && exit 1 ) git status - git subtree -P config pull ../config master - git subtree -P config push ../config master + git subtree -P config pull ../config master || exit 1 + git subtree -P config push ../config master || exit 1 fi pdflatex -shell-escape main.tex makeglossaries main -- GitLab