summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-05-05 12:41:07 +0200
committerAndrew Tridgell <tridge@samba.org>2010-05-05 16:14:13 +0200
commitfa172c494f8d78838a33820e413f0528f83b2db9 (patch)
treeb5515295cfa2eac35efe12622dbd29cc69cb949c /buildtools
parentb4c46bd7dfd268cf6f9390374a7638a548308064 (diff)
downloadsamba-fa172c494f8d78838a33820e413f0528f83b2db9.tar.gz
samba-fa172c494f8d78838a33820e413f0528f83b2db9.tar.bz2
samba-fa172c494f8d78838a33820e413f0528f83b2db9.zip
build: exit with an error if waf configure fails
We don't want configure in the build farm to show green when it fails
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/scripts/configure.waf4
1 files 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