aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
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