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
commit341c9b1fff667fec44a523b53eace6db09627177 (patch)
tree5394884c43a06621a3bf050cd5bed399ff2234f1 /Library
parent481731d364c4ea56eae710e60ebe4e66de684d1b (diff)
downloadhomebrew-341c9b1fff667fec44a523b53eace6db09627177.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