Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
367172fc
Unverified
Commit
367172fc
authored
Jun 05, 2020
by
Andrew Murray
Committed by
GitHub
Jun 05, 2020
Browse files
Merge pull request #335 from radarhere/ver
Do not call strip_macpython_ver_prefix if it is not used
parents
4e24f822
bf05dbe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
osx_utils.sh
osx_utils.sh
+1
-1
No files found.
osx_utils.sh
View file @
367172fc
...
@@ -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
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment