From e0999078dc9aecb35af60f752218a0e923ff94d7 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 18 Feb 2010 11:59:29 +0000 Subject: [PATCH] Fix GitHub tarball version detection --- Library/Homebrew/extend/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index eaac2ee682..61a2a2d49c 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