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

export WAFLOCK=.lock-wafbuild_dpdk
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