Unverified Commit 367172fc authored by Andrew Murray's avatar Andrew Murray Committed by GitHub
Browse files

Merge pull request #335 from radarhere/ver

Do not call strip_macpython_ver_prefix if it is not used
parents 4e24f822 bf05dbe9
...@@ -260,10 +260,10 @@ function install_macpython { ...@@ -260,10 +260,10 @@ function install_macpython {
local version=$1 local version=$1
local py_osx_ver=$2 local py_osx_ver=$2
local impl=$(macpython_impl_for_version $version) local impl=$(macpython_impl_for_version $version)
local stripped_ver=$(strip_macpython_ver_prefix $version)
if [[ "$impl" == "pp" ]]; then if [[ "$impl" == "pp" ]]; then
install_pypy $version install_pypy $version
elif [[ "$impl" == "cp" ]]; then elif [[ "$impl" == "cp" ]]; then
local stripped_ver=$(strip_macpython_ver_prefix $version)
install_mac_cpython $stripped_ver $py_osx_ver install_mac_cpython $stripped_ver $py_osx_ver
else else
echo "Unexpected Python impl: ${impl}" echo "Unexpected Python impl: ${impl}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment