diff options
| author | Mike McQuaid | 2013-10-22 22:37:09 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-22 22:37:09 +0100 |
| commit | 0046cfdf47e1cdb106d6239894d694aae1b2de66 (patch) | |
| tree | ededdd2706369319d17ae1d1db43d8ab106383fc | |
| parent | 673df3e34f9b52812bc72670ceacfb909d946b0a (diff) | |
| download | homebrew-0046cfdf47e1cdb106d6239894d694aae1b2de66.tar.bz2 | |
Xcode: don't detect Mavericks CLT as Xcode.
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 3f0868b53..ee83cc1ca 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -49,7 +49,8 @@ module OS def prefix @prefix ||= begin path = Pathname.new(folder) - if path.absolute? and File.executable? "#{path}/usr/bin/make" + if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \ + and File.executable? "#{path}/usr/bin/make" path elsif File.executable? '/Developer/usr/bin/make' # we do this to support cowboys who insist on installing |
