diff options
| author | Mike McQuaid | 2013-06-03 20:52:21 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2013-06-03 20:53:00 +0100 | 
| commit | 2abe3d7fcfcf81c3502e1e70f2316df9e004fc36 (patch) | |
| tree | cb1e0d1299b67ebd096eaae8f8eab1779920acc3 /Library | |
| parent | afe16c8bebde4b50b1451aa399c0392bc27f4add (diff) | |
| download | homebrew-2abe3d7fcfcf81c3502e1e70f2316df9e004fc36.tar.bz2 | |
make erlang versions case-insensitive for bottles.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/version.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index f7d194bac..4a165d72b 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -127,7 +127,7 @@ class Version      return m.captures.first unless m.nil?      # e.g. https://github.com/erlang/otp/tarball/OTP_R15B01 (erlang style) -    m = /[-_](R\d+[AB]\d*(?:-\d+)?)/.match(spec_s) +    m = /[-_]([Rr]\d+[AaBb]\d*(?:-\d+)?)/.match(spec_s)      return m.captures.first unless m.nil?      # e.g. boost_1_39_0  | 
