Skip to content

Commit

Permalink
handle errors a bit better
Browse files Browse the repository at this point in the history
  • Loading branch information
perimosocordiae committed Apr 16, 2014
1 parent fde907e commit a5fb043
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -e

NAME=umthesis
WHEREAMI=`cd $(dirname $0) && pwd -P`
Expand All @@ -16,7 +17,7 @@ BSTDIR="$TEXVAR/bibtex/bst/$NAME"

mkdir -p "$LATEXDIR" "$BSTDIR"

cd "$BSTDIR" && ln -s "$WHEREAMI"/*.bst .
cd "$LATEXDIR" && ln -s "$WHEREAMI"/*.cls "$WHEREAMI"/*.clo .
cd "$BSTDIR" && ln -fs "$WHEREAMI"/*.bst .
cd "$LATEXDIR" && ln -fs "$WHEREAMI"/*.cls "$WHEREAMI"/*.clo .

cd "$TEXVAR" && mktexlsr .

0 comments on commit a5fb043

Please sign in to comment.