Fix GitHub tarball version detection

This commit is contained in:
Max Howell 2010-02-18 11:59:29 +00:00
parent a4bd7c008d
commit e0999078dc

View File

@ -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