aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2013-10-22 22:37:09 +0100
committerMike McQuaid2013-10-22 22:37:09 +0100
commit0046cfdf47e1cdb106d6239894d694aae1b2de66 (patch)
treeededdd2706369319d17ae1d1db43d8ab106383fc
parent673df3e34f9b52812bc72670ceacfb909d946b0a (diff)
downloadhomebrew-0046cfdf47e1cdb106d6239894d694aae1b2de66.tar.bz2
Xcode: don't detect Mavericks CLT as Xcode.
-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