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

break autocompile when tree fails

parent 8c65c75e
No related branches found
No related tags found
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