diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-24 21:03:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-24 21:03:50 +0100 |
| commit | c3f570d41a1142c5597c16a8677d24a71f61d497 (patch) | |
| tree | c80e4e8e8f4a59b9e1012ed64c563764215d2f1d | |
| parent | 6da7c13749fe413f94ecdefe801b1d0a009c4cf5 (diff) | |
Exit on waf fail.
| -rwxr-xr-x | build-windows | 3 |
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` |
