.appveyor.yml: try another workaround for appveyor
authorPaul Brossier <piem@piem.org>
Sat, 30 Sep 2017 21:50:31 +0000 (23:50 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 30 Sep 2017 21:50:31 +0000 (23:50 +0200)
.appveyor.yml
scripts/get_waf.sh

index 18a32c1..453f14b 100644 (file)
@@ -51,7 +51,7 @@ install:
   - "pip install --upgrade setuptools"
 
 before_build:
-  - "bash scripts/get_waf.sh --python=%PYTHON%\\python.exe"
+  - "bash scripts/get_waf.sh"
 
 build_script:
   # build python module without using libaubio
index 42d325d..1145764 100755 (executable)
@@ -22,6 +22,7 @@ function buildwaf () {
 
   tar xf $WAFTARBALL
   pushd waf-$WAFVERSION
+  [ -x $PYTHON ] || PYTHON=`which python`
   NOCLIMB=1 python waf-light --tools=c_emscripten,syms $*
 
   popd