tools: Default to Python 3
It's nearly 2020. This should be the default now. Change-Id: Ia43fb5bf3c7eede7a8f1cf254cd6de8dace25bd8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
644a3e4376
commit
90d1c48143
|
@ -10,7 +10,7 @@
|
||||||
# relative to the project directory. If no value is passed, it is assumed
|
# relative to the project directory. If no value is passed, it is assumed
|
||||||
# to be packagename/tests.
|
# to be packagename/tests.
|
||||||
|
|
||||||
PYTHON=${PYTHON:-python}
|
PYTHON=${PYTHON:-python3}
|
||||||
|
|
||||||
TMP_DIR=`mktemp -d debug-$$-XXX` || exit 1
|
TMP_DIR=`mktemp -d debug-$$-XXX` || exit 1
|
||||||
trap "rm -rf $TMP_DIR" EXIT
|
trap "rm -rf $TMP_DIR" EXIT
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# Fail the build if any command fails
|
# Fail the build if any command fails
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PYTHON=${PYTHON:-python}
|
PYTHON=${PYTHON:-python3}
|
||||||
|
|
||||||
function usage {
|
function usage {
|
||||||
cat - <<EOF
|
cat - <<EOF
|
||||||
|
|
Loading…
Reference in New Issue