Skip to content

Commit

Permalink
Correct the python version test.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Oct 22, 2024
1 parent 816305f commit 5221ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_python_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ then
# CPython/PyPy version
implementer_version=${BASH_REMATCH[2]:-$cpython_version}
fi
python_mm="${cpython_version:0:1}.${cpython_version:2:1}"
python_mm=$(echo $cpython_version | awk -F "." '{printf "%d.%d", $1, $2}')

# extract implementation prefix and version
if [[ "$MB_PYTHON_VERSION" =~ (pypy[0-9\.]*-)?([0-9\.]+) ]]; then
Expand Down

0 comments on commit 5221ae9

Please sign in to comment.