diff options
| author | Misty De Meo | 2013-07-29 18:44:34 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-07-29 18:45:03 -0700 |
| commit | f274ad32504b9b04ea0cf041f375f3f11c9949fb (patch) | |
| tree | db12de8699eef911a3f4bf87f13339dffb30a797 /Library | |
| parent | b072da141f97e1d88c97beedf03b3b2deb8a38f4 (diff) | |
| download | brew-f274ad32504b9b04ea0cf041f375f3f11c9949fb.tar.bz2 | |
superenv: fix locating non-Xcode gcc-4.2
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/superenv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index 8bed66125..b15d40f6b 100644 --- a/Library/Homebrew/superenv.rb +++ b/Library/Homebrew/superenv.rb @@ -65,7 +65,7 @@ class << ENV # Homebrew's apple-gcc42 will be outside the PATH in superenv, # so xcrun may not be able to find it - if ENV['HOMEBREW_CC'] == 'gcc-4.2' && !MacOS.locate('gcc-4.2') + if ENV['HOMEBREW_CC'] == 'gcc-4.2' apple_gcc42 = Formula.factory('apple-gcc42') rescue nil ENV.append('PATH', apple_gcc42.opt_prefix/'bin', ':') if apple_gcc42 end |
