aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2013-06-03 20:52:21 +0100
committerMike McQuaid2013-06-03 20:53:00 +0100
commiteb7efb8dd5f4ca13635e3346b175f995c0727374 (patch)
treeda60e3a2ec4e3896ef1b5c83a3446780f17703fa /Library/Homebrew
parentee22ae3a568dd29900d4fd6bb12f78da65c87519 (diff)
downloadbrew-eb7efb8dd5f4ca13635e3346b175f995c0727374.tar.bz2
make erlang versions case-insensitive for bottles.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/version.rb2
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