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

This commit is contained in:
Alexander Barton 2017-01-20 17:24:22 +01:00
parent a69866f3f9
commit 3890304b54
1 changed files with 4 additions and 0 deletions

View File

@ -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