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
12426f0a
Commit
12426f0a
authored
Jan 02, 2021
by
robbuckley
Browse files
Update osx_utils.sh
Co-authored-by:
Andrew Murray
<
3112309+radarhere@users.noreply.github.com
>
parent
bf2cfdd6
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 @
12426f0a
...
@@ -292,7 +292,7 @@ function install_mac_cpython {
...
@@ -292,7 +292,7 @@ function install_mac_cpython {
local
inst_path
=
$DOWNLOADS_SDIR
/
$py_inst
local
inst_path
=
$DOWNLOADS_SDIR
/
$py_inst
local
retval
=
""
local
retval
=
""
mkdir
-p
$DOWNLOADS_SDIR
mkdir
-p
$DOWNLOADS_SDIR
# exit early on curl errors, but dont let it exit the shell
# exit early on curl errors, but don
'
t let it exit the shell
cmd_notexit curl
-f
$MACPYTHON_URL
/
$py_stripped
/
${
py_inst
}
>
$inst_path
||
retval
=
$?
cmd_notexit curl
-f
$MACPYTHON_URL
/
$py_stripped
/
${
py_inst
}
>
$inst_path
||
retval
=
$?
if
[
${
retval
:-
0
}
-ne
0
]
;
then
if
[
${
retval
:-
0
}
-ne
0
]
;
then
echo
"Python download failed! Check
${
py_inst
}
exists on the server."
echo
"Python download failed! Check
${
py_inst
}
exists on the server."
...
...
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