mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-21 08:31:26 +02:00
Fix Lion conditional
This commit is contained in:
parent
fac8c31d0e
commit
c87ceef0eb
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ after_install_package() {
|
|||
|
||||
use_gcc42_on_lion() {
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7)" = 0 ]; then
|
||||
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7)" -eq 1 ]; then
|
||||
export CC=/usr/bin/gcc-4.2
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue