aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
authorJoshua Peek2010-03-27 15:02:21 -0500
committerAdam Vandenberg2010-03-27 14:01:19 -0700
commit04855ddd484389bc8292a4d82106185466a3eb89 (patch)
tree6fde7564639a9844d7b00936aaed637e9eb2a0fe /Library/Homebrew/extend/pathname.rb
parent9fbc26a39ff86f3a9b1ea0f79b502f5736a5119b (diff)
downloadbrew-04855ddd484389bc8292a4d82106185466a3eb89.tar.bz2
fix github version parser with multidigit number
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index e2489a51b..d4fa6d92e 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -110,7 +110,7 @@ class Pathname
# github tarballs are special
# we only support numbered tagged downloads
- %r[github.com/.*/tarball/v?((\d\.)+\d)$].match to_s
+ %r[github.com/.*/tarball/v?((\d\.)+\d+)$].match to_s
return $1 if $1
# eg. boost_1_39_0