summaryrefslogtreecommitdiffstats
path: root/linux/b
blob: 78d4ca474c3e1397af6599d42d0c41d48958f5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

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