Fix regex for svn+http

Fixes Homebrew/homebrew#4683
This commit is contained in:
Adam Vandenberg 2011-03-15 09:41:23 -07:00
parent 9104fdba8c
commit 5f5fdb3284

View File

@ -476,7 +476,7 @@ def detect_download_strategy url
when %r[^git://] then GitDownloadStrategy
when %r[^hg://] then MercurialDownloadStrategy
when %r[^svn://] then SubversionDownloadStrategy
when %r[^svn+http://] then SubversionDownloadStrategy
when %r[^svn\+http://] then SubversionDownloadStrategy
when %r[^fossil://] then FossilDownloadStrategy
# Some well-known source hosts
when %r[^http://github\.com/.+\.git$] then GitDownloadStrategy