From 3890304b5446315786eb0a9cba6d48c80379390e Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 20 Jan 2017 17:24:22 +0100 Subject: [PATCH] Make sure that platformtest.sh aborts when autogen.sh fails --- contrib/platformtest.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2