aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2010-02-18 11:59:29 +0000
committerMax Howell2010-02-18 11:59:29 +0000
commit3fcc55d90d74594077a716f9d8d8ea1f8acf92f6 (patch)
tree291ad69799bd9b682b709c4ea1a49a950cbd3bc7 /Library
parent43cf2d1cebd5eb61e943e6d6eaf07a288fd4f563 (diff)
downloadhomebrew-3fcc55d90d74594077a716f9d8d8ea1f8acf92f6.tar.bz2
Fix GitHub tarball version detection
Diffstat (limited to 'Library')
-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 eaac2ee68..61a2a2d49 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -109,7 +109,7 @@ class Pathname
# github tarballs are special
# we only support numbered tagged downloads
- %r[github.com/.*/tarball/((\d\.)+\d)$].match to_s
+ %r[github.com/.*/tarball/v?((\d\.)+\d)$].match to_s
return $1 if $1
# eg. boost_1_39_0