Skip to content

Commit

Permalink
Always regenerate to reflect changes in config.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
gpampara committed Mar 8, 2018
1 parent 6f41f6e commit 871151b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

if [ -e .phd ]; then
cd doctoral_template && latexmk dissertation.tex && cd ..
cd doctoral_template && latexmk -g dissertation.tex && cd ..
elif [ -e .msc ]; then
cd masters_template && latexmk && cd ..
cd masters_template && latexmk -g dissertation.tex && cd ..
else
echo "Please create a .phd or a .msc file to select the appropriate template"
exit 1
Expand Down

0 comments on commit 871151b

Please sign in to comment.