summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2009-02-03 12:14:59 +0000
committerdscho <dscho>2009-02-03 12:14:59 +0000
commit7b5dfecfaaaf78c1f481a781f04b03df46969a5a (patch)
tree723b60fbdcda36a151d69f45f49960969fe91037
parenta868b6476e0714c2b979d0c33e1410361b94c56d (diff)
downloadlibtdevnc-7b5dfecf.tar.gz
libtdevnc-7b5dfecf.zip
autogen.sh: run with set -e
If any autotool command fails, we want to abort, not keep running. Otherwise, errors in say a Makefile.am will be missed as the automake failure gets ignored and then lost in the noise. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r--autogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index fff8323..2e809c6 100644
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,8 @@
#! /bin/sh
# Run this to generate all the initial makefiles, etc.
+set -e
+
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.