]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
build: exit with an error if waf configure fails
authorAndrew Tridgell <tridge@samba.org>
Wed, 5 May 2010 10:41:07 +0000 (12:41 +0200)
committerAndrew Tridgell <tridge@samba.org>
Wed, 5 May 2010 14:14:13 +0000 (16:14 +0200)
We don't want configure in the build farm to show green when it fails

buildtools/scripts/configure.waf

index 342f4c2e46e0676356504a6c491f715589cd177f..a7d8d1dbd64183bf6ec60794985bdc7fa7ee85f2 100755 (executable)
@@ -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