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
141880c8
Commit
141880c8
authored
Feb 12, 2019
by
Rob Buckley
Browse files
string comparison not -eq
parent
2a22a33b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
osx_utils.sh
osx_utils.sh
+2
-2
No files found.
osx_utils.sh
View file @
141880c8
...
@@ -144,9 +144,9 @@ function mac_arch_for_pyosx_version {
...
@@ -144,9 +144,9 @@ function mac_arch_for_pyosx_version {
# MACPYTHON_DEFAULT_OSX
# MACPYTHON_DEFAULT_OSX
py_osx_ver
=
${
1
:-
$MACPYTHON_DEFAULT_OSX
}
py_osx_ver
=
${
1
:-
$MACPYTHON_DEFAULT_OSX
}
check_var
$py_osx_ver
check_var
$py_osx_ver
if
[
$py_osx_ver
-eq
"10.6"
]
;
then
if
[
[
"
$py_osx_ver
"
==
"10.6"
]
]
;
then
echo
"intel"
echo
"intel"
elif
[
$py_osx_ver
-eq
"10.9"
]
;
then
elif
[
[
"
$py_osx_ver
"
==
"10.9"
]
]
;
then
echo
"x86_x64"
echo
"x86_x64"
else
else
echo
"Invalid python osx version:
${
py_osx_ver
}
, supported values: 10.6 and 10.9"
echo
"Invalid python osx version:
${
py_osx_ver
}
, supported values: 10.6 and 10.9"
...
...
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