aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-25 21:26:15 +0100
committerMike McQuaid2013-10-25 21:33:26 +0100
commited3343565a6b02f85d6e0a21b8f64be81c1cd0a3 (patch)
treece27a7e5c04464c2e19c9d558533f3bce883dcd7 /Library
parent90a630dcadb50829a17c6423b1af0bb2b4491f69 (diff)
downloadbrew-ed3343565a6b02f85d6e0a21b8f64be81c1cd0a3.tar.bz2
doctor: require CLT on 10.9.
Xcode-only setup is badly broken and will remain that way until fixed by Apple. For many 10.9 issues this fixes things so let's tell the users.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 47ad62027..a9624397e 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -191,7 +191,9 @@ def check_for_broken_symlinks
end
def check_xcode_clt
- if MacOS::Xcode.installed?
+ if MacOS.version >= :mavericks
+ __check_clt_up_to_date
+ elsif MacOS::Xcode.installed?
__check_xcode_up_to_date
elsif MacOS.version >= :lion
__check_clt_up_to_date