sb/python-wrapper: Add python2.7 to aid testing

This commit is contained in:
Chris Johns 2020-03-04 09:20:19 +11:00
parent 834a0ea88a
commit ba97e7c5af

View File

@ -21,7 +21,7 @@ if test ! -f $PYTHON_CMD; then
echo "error: python command not found: $PYTHON_CMD" echo "error: python command not found: $PYTHON_CMD"
exit 5 exit 5
fi fi
for py in python2 python3 python for py in python2 python2.7 python3 python
do do
set +e set +e
py_cmd=$(command -v $py) py_cmd=$(command -v $py)