Skip to content
Snippets Groups Projects
Commit a6d5e785 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

break autocompile when tree fails

parent 589fd2a4
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment