mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 20:51:17 +00:00
fix broken string match in has_broken_mac_llvm_gcc()
This commit is contained in:
parent
f9a19e3f24
commit
4c006959fa
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ has_broken_mac_readline() {
|
|||
|
||||
has_broken_mac_llvm_gcc() {
|
||||
[ "$(uname -s)" = "Darwin" ] &&
|
||||
[ "$(gcc --version 2>/dev/null || true)" = "llvm-gcc-4.2" ]
|
||||
[[ "$(gcc --version 2>/dev/null || true)" == *"llvm-gcc-4.2"* ]]
|
||||
}
|
||||
|
||||
# Post-install check for Python 2.5.x
|
||||
|
|
Loading…
Reference in a new issue