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
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,8 @@ fi ...@@ -18,8 +18,8 @@ fi
if [ $1 = tree ]; then if [ $1 = tree ]; then
[ -e ../config ] || ( echo "You don't have a local config repo" && exit 1 ) [ -e ../config ] || ( echo "You don't have a local config repo" && exit 1 )
git status git status
git subtree -P config pull ../config master git subtree -P config pull ../config master || exit 1
git subtree -P config push ../config master git subtree -P config push ../config master || exit 1
fi fi
pdflatex -shell-escape main.tex pdflatex -shell-escape main.tex
makeglossaries main makeglossaries main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment