aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2013-10-22 22:37:09 +0100
committerMike McQuaid2013-10-22 22:37:09 +0100
commit1be35f036e1bf5e31c685eb16ea22688339088c8 (patch)
tree6bed3277f3f887c3f52c9f16c9b2c64840fe2eb5 /Library/Homebrew
parenta7c29271b89ac077f27303087eb8926048e0d89b (diff)
downloadbrew-1be35f036e1bf5e31c685eb16ea22688339088c8.tar.bz2
Xcode: don't detect Mavericks CLT as Xcode.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb3
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