From 1be35f036e1bf5e31c685eb16ea22688339088c8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 22 Oct 2013 22:37:09 +0100 Subject: [PATCH] Xcode: don't detect Mavericks CLT as Xcode. --- Library/Homebrew/os/mac/xcode.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 3f0868b53a..ee83cc1ca5 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