Skip to content

Commit

Permalink
Use stderr for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Sep 30, 2014
1 parent 173914f commit d7ead8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-pdfs.sh
@@ -1,8 +1,8 @@
#!/bin/bash
set -e

[[ ! `which git` ]] && { echo "git is required"; exit 1; }
[[ ! `which lyx` ]] && { echo "lyx is required"; exit 1; }
[[ ! `which git` ]] && { echo "git is required" 1>&2; exit 1; }
[[ ! `which lyx` ]] && { echo "lyx is required" 1>&2; exit 1; }

deleteTmpLyx(){
find "$PWD" -name '*.tmp.lyx' -delete
Expand Down

0 comments on commit d7ead8b

Please sign in to comment.