summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-24 21:03:50 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-24 21:03:50 +0100
commitc3f570d41a1142c5597c16a8677d24a71f61d497 (patch)
treec80e4e8e8f4a59b9e1012ed64c563764215d2f1d
parent6da7c13749fe413f94ecdefe801b1d0a009c4cf5 (diff)
Exit on waf fail.
-rwxr-xr-xbuild-windows3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-windows b/build-windows
index dda495263..6ef0a90cb 100755
--- a/build-windows
+++ b/build-windows
@@ -8,6 +8,9 @@ export WINDOWS_PREFIX="/home/carl/src/windows"
export PKG_CONFIG_LIBDIR=$WINDOWS_PREFIX/lib/pkgconfig
./waf
+if [ "$?" != "0" ]; then
+ exit 1
+fi
d=`pwd`