summaryrefslogtreecommitdiff
path: root/buildtools/scripts/configure.waf
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/scripts/configure.waf')
-rwxr-xr-xbuildtools/scripts/configure.waf3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/scripts/configure.waf b/buildtools/scripts/configure.waf
index a6367e7314..79a7a35c5d 100755
--- a/buildtools/scripts/configure.waf
+++ b/buildtools/scripts/configure.waf
@@ -1,5 +1,6 @@
#!/bin/sh
+PREVPATH=`dirname $0`
WAF=BUILDTOOLS/bin/waf
@@ -8,4 +9,6 @@ WAF=BUILDTOOLS/bin/waf
JOBS=1
export JOBS
+cd BUILDPATH
$WAF configure $*
+cd $PREVPATH