release: call python3 instead of python

Debian does not install /usr/bin/python by default any more.
This commit is contained in:
David Bremner 2020-11-08 10:01:53 -04:00
parent 8e721f12ba
commit 40b75f50be

View file

@ -109,7 +109,7 @@ else
fi
echo -n "Checking that python bindings version is $VERSION... "
py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
py_version=`python3 -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
if [ "$py_version" = "$VERSION" ]
then
echo Yes.