Skip to content

Commit

Permalink
CLT is just CLT now; not "for Xcode".
Browse files Browse the repository at this point in the history
References Homebrew#17383.
  • Loading branch information
MikeMcQuaid committed Jul 1, 2013
1 parent a9edcc7 commit 31bf918
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/cmd/doctor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __check_clt_up_to_date
You should install the Command Line Tools: http://connect.apple.com
EOS
elsif MacOS::CLT.outdated? then <<-EOS.undent
A newer Command Line Tools for Xcode release is available
A newer Command Line Tools release is available
You should install the latest version from: http://connect.apple.com
EOS
end
Expand Down Expand Up @@ -268,7 +268,7 @@ def check_cc
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 for Xcode" package provided by Apple.
"Command Line Tools" package provided by Apple.
EOS
else
'No compiler found in /usr/bin!'
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/os/mac/xcode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ module MacOS::CLT extend self
# This is true if the standard UNIX tools are present in the expected location. For
# Mavericks and above this is /Library/Developer/CommandLineTools otherwise it is /usr.
# For Xcode < 4.3, this is the standard location. Otherwise, it means that the user has
# installed the "Command Line Tools for Xcode" package.
# installed the "Command Line Tools" package.
def installed?
(MacOS.dev_tools_path == Pathname.new("#{MacOS::CLT::STANDALONE_PKG_PATH}/usr/bin") \
and File.directory? "#{MacOS::CLT::STANDALONE_PKG_PATH}/usr/include") or
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/requirements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class CLTDependency < Requirement
satisfy(:build_env => false) { MacOS::CLT.installed? }

def message; <<-EOS.undent
The Command Line Tools for Xcode are required to compile this software.
The Command Line Tools are required to compile this software.
The standalone package can be obtained from http://connect.apple.com,
or it can be installed via Xcode's preferences.
EOS
Expand Down

0 comments on commit 31bf918

Please sign in to comment.