repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 3890304b5446315786eb0a9cba6d48c80379390e:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 3890304b5446315786eb0a9cba6d48c80379390e
Author: Alexander Barton 
Date:   Fri Jan 20 17:24:22 2017 +0100

    Make sure that platformtest.sh aborts when autogen.sh fails

diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index 7f7e6b476bf7d13771d28fe528e12a4a77c516cb..
index ..e054d06f05d47a5c4059eec5e66180d7a3ff2f98 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

-----END OF PAGE-----