diff options
| author | Jack Nagel | 2013-05-22 22:59:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-22 22:59:38 -0500 |
| commit | dd280cc0b19d60a24850ca22460eb8c921f3879d (patch) | |
| tree | ceaa4efb3186b6fe118ec26569c5dd984a764731 /Library/Homebrew | |
| parent | 3755b33a97bf45f3505c4d9fb6f86a06643b35b1 (diff) | |
| download | brew-dd280cc0b19d60a24850ca22460eb8c921f3879d.tar.bz2 | |
MacOS.version in case statement doesn't work with ranges
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 0ec9e0bd1..bc35fa4ed 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -21,7 +21,7 @@ module MacOS::Xcode extend self case MacOS.version when 10.5 then "3.1.4" when 10.6 then "3.2.6" - when 10.7..10.8 then "4.6.2" + when 10.7, 10.8 then "4.6.2" else raise "Mac OS X '#{MacOS.version}' is invalid" end |
