From 8da589b7df9c87b3a08c46ebfd33e899e99bf8ca Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Wed, 13 Sep 2006 22:29:57 +0000 Subject: [PATCH] Make autogen.sh exit immediately if any of the tools it runs fails. git-svn-id: https://svn.musicpd.org/mpd/trunk@4773 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- autogen.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autogen.sh b/autogen.sh index 48242f016..34dbf3408 100755 --- a/autogen.sh +++ b/autogen.sh @@ -143,21 +143,21 @@ for i in $ac_local_paths; do done echo " $ACLOCAL $ACLOCAL_FLAGS" -$ACLOCAL $ACLOCAL_FLAGS +$ACLOCAL $ACLOCAL_FLAGS || exit 1 echo " $AUTOHEADER" -$AUTOHEADER +$AUTOHEADER || exit 1 echo " $LIBTOOLIZE --automake" -$LIBTOOLIZE --automake +$LIBTOOLIZE --automake || exit 1 echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS" -$AUTOMAKE --add-missing $AUTOMAKE_FLAGS +$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1 echo " $AUTOCONF" -$AUTOCONF +$AUTOCONF || exit 1 cd "$olddir" if test x$NOCONFIGURE = x; then - "$srcdir"/configure "$@" && echo + "$srcdir"/configure "$@" || exit 1 fi