summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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