From a11688641cc2a7f2c0a47ee9fc91af5768dd8b22 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 4 Sep 2016 15:29:00 +0300 Subject: update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3 --- linux/b | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'linux/b') diff --git a/linux/b b/linux/b index b33a4400..78d4ca47 100755 --- a/linux/b +++ b/linux/b @@ -1,5 +1,13 @@ #! /bin/bash -python2.7 waf-1.6.8 $@ -sts=$? -exit $sts + +if python2.7 waf-1.9.3 --help &> /dev/null ; then + python2.7 waf-1.9.3 $@ + exit $? +elif python3 waf-1.9.3 --help &> /dev/null ; then + python3 waf-1.9.3 $@ + exit $? +else + echo Required Python versions at least 2.7 or 3 + exit 1 +fi -- cgit 1.2.3-korg