From fa172c494f8d78838a33820e413f0528f83b2db9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 May 2010 12:41:07 +0200 Subject: build: exit with an error if waf configure fails We don't want configure in the build farm to show green when it fails --- buildtools/scripts/configure.waf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/scripts/configure.waf b/buildtools/scripts/configure.waf index 342f4c2e46..a7d8d1dbd6 100755 --- a/buildtools/scripts/configure.waf +++ b/buildtools/scripts/configure.waf @@ -9,6 +9,6 @@ WAF=BUILDTOOLS/bin/waf JOBS=1 export JOBS -cd BUILDPATH -$WAF configure "$@" +cd BUILDPATH || exit 1 +$WAF configure "$@" || exit 1 cd $PREVPATH -- cgit