From 7b5dfecfaaaf78c1f481a781f04b03df46969a5a Mon Sep 17 00:00:00 2001 From: dscho Date: Tue, 3 Feb 2009 12:14:59 +0000 Subject: [PATCH] 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 Signed-off-by: Johannes Schindelin --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) 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=.