diff --git a/osx_utils.sh b/osx_utils.sh index 689a9ac8..e43319e9 100644 --- a/osx_utils.sh +++ b/osx_utils.sh @@ -177,8 +177,8 @@ function pyinst_fname_for_version { # we set the env variable _PYTHON_HOST_PLATFORM to change this # default. if [ -z "$2" ]; then - if [ $(lex_ver $_ver) -ge $(lex_ver 3.8.10) ] \ - && [ $(lex_ver $_ver) -lt $(lex_ver 3.10.0) ]; then + if [ $(lex_ver $py_version) -ge $(lex_ver 3.8.10) ] \ + && [ $(lex_ver $py_version) -lt $(lex_ver 3.10.0) ]; then if [ $(uname -m) == "x86_64" ]; then py_osx_ver="10.9" else