Unverified Commit 0fe83087 authored by Andrew Murray's avatar Andrew Murray Committed by GitHub
Browse files

Update osx_utils.sh


Co-Authored-By: default avatarrobbuckley <20515024+robbuckley@users.noreply.github.com>
parent f0967a00
...@@ -146,7 +146,7 @@ function get_macpython_arch { ...@@ -146,7 +146,7 @@ function get_macpython_arch {
} }
function get_macpython_osx_ver { function get_macpython_osx_ver {
# get minimum macOS version (e.g. 10.9) from the disutils platform tag # get minimum macOS version (e.g. 10.9) from the distutils platform tag
distutils_plat=${1:-$(get_distutils_platform)} distutils_plat=${1:-$(get_distutils_platform)}
if [[ $distutils_plat =~ macosx-(10\.[0-9]+)-(.*) ]]; then if [[ $distutils_plat =~ macosx-(10\.[0-9]+)-(.*) ]]; then
echo ${BASH_REMATCH[1]} echo ${BASH_REMATCH[1]}
......
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