summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2017-01-20 17:24:22 +0100
committerAlexander Barton <alex@barton.de>2017-01-20 17:24:28 +0100
commit3890304b5446315786eb0a9cba6d48c80379390e (patch)
treef00eb97b7ada6402ffb07aa482ff024e02a62e87 /contrib
parenta69866f3f9ccbd7dbd0fe1adc9ae49e7dd33bd9c (diff)
downloadngircd-3890304b5446315786eb0a9cba6d48c80379390e.tar.gz
ngircd-3890304b5446315786eb0a9cba6d48c80379390e.zip
Make sure that platformtest.sh aborts when autogen.sh fails
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/platformtest.sh4
1 files changed, 4 insertions, 0 deletions
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