aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorSamuel John2013-07-17 15:18:00 +0200
committerSamuel John2013-07-17 15:18:00 +0200
commitf6146e64de48a638c215829a5dbea3a7a418d0c3 (patch)
treec8de9a374dfe2e210db07a42b582eb8eed8a1b2b /Library/Homebrew/cmd/doctor.rb
parent6552a8d29b7974818b1fb7d61d06a67579e67eca (diff)
downloadhomebrew-f6146e64de48a638c215829a5dbea3a7a418d0c3.tar.bz2
doctor: Using Xcode-only is no longer experimental
In 10.9 we'll probably have to use that code path anyways and by now we have adapted all formulae to be able to build on Xcode-only.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 993cb0b05..c87d4ab10 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -264,15 +264,8 @@ def check_for_stray_developer_directory
end
def check_cc
- unless MacOS::CLT.installed?
- if MacOS::Xcode.version >= "4.3" then <<-EOS.undent
- Experimental support for using Xcode without the "Command Line Tools".
- You have only installed Xcode. If stuff is not building, try installing the
- "Command Line Tools" package provided by Apple.
- EOS
- else
- 'No compiler found in /usr/bin!'
- end
+ if !MacOS::CLT.installed? && MacOS::Xcode.version < "4.3"
+ 'No compiler found in /usr/bin!'
end
end