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
commite0999078dc9aecb35af60f752218a0e923ff94d7 (patch)
treeb1a2b2c0fc866d8514a3762c6a89df531e6208f0 /Library
parenta4bd7c008de0c45a36e2d290acb87bdb79c16a4e (diff)
downloadbrew-e0999078dc9aecb35af60f752218a0e923ff94d7.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