aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-04-15 14:25:27 -0500
committerJack Nagel2014-04-15 14:26:12 -0500
commit8d6c1358a2b2d99b6053a1ae25d49753588ba6b6 (patch)
treeefcf068c0b129588de61823fcf15f2515446dd61 /Library/Homebrew
parent538dea98ad3f4354fff32a07a12f987bf3d1d0b5 (diff)
downloadbrew-8d6c1358a2b2d99b6053a1ae25d49753588ba6b6.tar.bz2
Update comment
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index d56aa992b..2c215e045 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -88,9 +88,11 @@ module OS
end
end
- # For people who's xcode-select is unset, or who have installed
- # xcode-gcc-installer or whatever other combinations we can try and
- # supprt. See https://github.com/Homebrew/homebrew/wiki/Xcode
+ # The remaining logic provides a fake Xcode version for CLT-only
+ # systems. This behavior only exists because Homebrew used to assume
+ # Xcode.version would always be non-nil. This is deprecated, and will
+ # be removed in a future version. To remain compatible, guard usage of
+ # Xcode.version with an Xcode.installed? check.
case MacOS.llvm_build_version.to_i
when 1..2063 then "3.1.0"
when 2064..2065 then "3.1.4"