diff options
| author | Mike McQuaid | 2013-06-03 20:52:21 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-06-03 20:53:00 +0100 |
| commit | eb7efb8dd5f4ca13635e3346b175f995c0727374 (patch) | |
| tree | da60e3a2ec4e3896ef1b5c83a3446780f17703fa /Library/Homebrew | |
| parent | ee22ae3a568dd29900d4fd6bb12f78da65c87519 (diff) | |
| download | brew-eb7efb8dd5f4ca13635e3346b175f995c0727374.tar.bz2 | |
make erlang versions case-insensitive for bottles.
Diffstat (limited to 'Library/Homebrew')
| -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 |
