diff options
| author | Jack Nagel | 2013-07-21 16:41:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-21 16:41:50 -0500 |
| commit | 4d5a011bcfadd5fc2ee920e3ed35b8d4bbb2f2e7 (patch) | |
| tree | 0fa52750271a6035788d9086d8420263cfaa4443 /Library/Homebrew | |
| parent | 42df11d962e150ac5c52c8f7e8a5caa9a0e73696 (diff) | |
| download | homebrew-4d5a011bcfadd5fc2ee920e3ed35b8d4bbb2f2e7.tar.bz2 | |
Update comment about CLT
This was worded in a confusing way, and made an assumption about future
OS X versions that we don't know to be true.
Also, it's probably wrong to state that the CLT location is dependent on
the OS X version; surely there will be a newer CLT for 10.8 that gets
installed in the same location as on 10.9. But we don't know any better
yet.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index da419aa3d..709d41a04 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -156,10 +156,11 @@ module MacOS::CLT extend self FROM_XCODE_PKG_ID = "com.apple.pkg.DeveloperToolsCLI" STANDALONE_PKG_PATH = Pathname.new("/Library/Developer/CommandLineTools") - # 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" package. + # True if: + # - Xcode < 4.3 is installed. The tools are found under /usr. + # - The "Command Line Tools" package has been installed + # For OS X < 10.9, the tools are found under /usr. For 10.9, + # they are found under /Library/Developer/CommandLineTools. def installed? mavericks_dev_tools? || usr_dev_tools? end |
