Use python3 instead of PYTHON3

This commit is contained in:
Anush Elangovan
2022-05-15 12:43:51 -07:00
parent 9e48a3525b
commit 6bf3f6864c

View File

@@ -10,7 +10,7 @@
TD="$(cd $(dirname $0) && pwd)"
if [ -z "$PYTHON" ]; then
PYTHON="$(which $PYTHON3)"
PYTHON="$(which python3)"
fi
PYTHON_VERSION_X_Y=`${PYTHON} -c 'import sys; version=sys.version_info[:2]; print("{0}.{1}".format(*version))'`