aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Afanasjew2016-05-04 20:24:30 +0200
committerMartin Afanasjew2016-05-05 23:34:40 +0200
commit5ee797eb610205c232ab6d5f76c68bfc5834f6b9 (patch)
treed5675503a5c5fd4f5ef08184f45c91730acf7edd /Library/Homebrew
parentc55da93ff390fc5863e6c2967f345676c4aad569 (diff)
downloadbrew-5ee797eb610205c232ab6d5f76c68bfc5834f6b9.tar.bz2
xcode: fix invalid range in comparison
Due to a typo, the range of LLVM build versions 2066 to 2325 were never matched and thus Xcode 3.2.0 could never be inferred from that. (Only relevant for legacy systems. Doesn't seem to have impacted any users.)
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 65a294306..f85cea9f5 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -103,7 +103,7 @@ module OS
case MacOS.llvm_build_version.to_i
when 1..2063 then "3.1.0"
when 2064..2065 then "3.1.4"
- when 2366..2325
+ when 2066..2325
# we have no data for this range so we are guessing
"3.2.0"
when 2326