diff options
| author | Alexander Barton <alex@barton.de> | 2017-01-20 17:24:22 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2017-01-20 17:24:28 +0100 |
| commit | 3890304b5446315786eb0a9cba6d48c80379390e (patch) | |
| tree | f00eb97b7ada6402ffb07aa482ff024e02a62e87 | |
| parent | a69866f3f9ccbd7dbd0fe1adc9ae49e7dd33bd9c (diff) | |
| download | ngircd-3890304b5446315786eb0a9cba6d48c80379390e.tar.gz ngircd-3890304b5446315786eb0a9cba6d48c80379390e.zip | |
Make sure that platformtest.sh aborts when autogen.sh fails
| -rwxr-xr-x | contrib/platformtest.sh | 4 |
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 |