From: Alexander Barton Date: Fri, 20 Jan 2017 16:24:22 +0000 (+0100) Subject: Make sure that platformtest.sh aborts when autogen.sh fails X-Git-Tag: rel-24~2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=3890304b5446315786eb0a9cba6d48c80379390e Make sure that platformtest.sh aborts when autogen.sh fails --- diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh index 7f7e6b47..e054d06f 100755 --- a/contrib/platformtest.sh +++ b/contrib/platformtest.sh @@ -98,6 +98,10 @@ if [ ! -r "$SRC_D/configure" ]; then else ./autogen.sh >/dev/null fi + if [ $? -ne 0 ]; then + echo "$NAME: \"$SRC_D/autogen.sh\" script failed, aborting!" + exit 1 + fi cd "$MY_D" || exit 1 fi