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
a8ed293e
Commit
a8ed293e
authored
Jun 17, 2020
by
Andrew Murray
Browse files
Fixed parsing pypy MB_PYTHON_VERSION
parent
54073e8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_python_install.sh
tests/test_python_install.sh
+1
-1
No files found.
tests/test_python_install.sh
View file @
a8ed293e
...
...
@@ -23,7 +23,7 @@ fi
python_mm
=
"
${
cpython_version
:0:1
}
.
${
cpython_version
:2:1
}
"
# extract implementation prefix and version
if
[[
"
$MB_PYTHON_VERSION
"
=
~
(
pypy-
)
?
([
0-9
\.
]
+
)
]]
;
then
if
[[
"
$MB_PYTHON_VERSION
"
=
~
(
pypy
[0-9
\.
]
*
-
)
?
([
0-9
\.
]
+
)
]]
;
then
_impl
=
${
BASH_REMATCH
[1]
:-
"cp"
}
requested_impl
=
${
_impl
:0:2
}
requested_version
=
${
BASH_REMATCH
[2]
}
...
...
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