Browse Source

fix broken string match in `has_broken_mac_llvm_gcc()`

pull/37/head
Yamashita Yuu 11 years ago
parent
commit
4c006959fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/python-build/bin/python-build

+ 1
- 1
plugins/python-build/bin/python-build View File

@ -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…
Cancel
Save