diff options
| author | Adam Vandenberg | 2012-05-10 07:09:51 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-05-10 07:09:51 -0700 |
| commit | f8a6075af33384665e3ffe7c5b928af11b4e6a04 (patch) | |
| tree | a9919652761767d15297500e3e5cb175fdda1f4f /Library | |
| parent | 68124d481f7938f3bf280fb92d370a0de9a9b80f (diff) | |
| download | brew-f8a6075af33384665e3ffe7c5b928af11b4e6a04.tar.bz2 | |
Detect http://svn... as svn
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 41c4fdeb3..7d5e7af68 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -579,6 +579,8 @@ def detect_download_strategy url when %r[^https?://(.+?\.)?sourceforge\.net/svnroot/] then SubversionDownloadStrategy when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy when %r[^http://www.apache.org/dyn/closer.cgi] then CurlApacheMirrorDownloadStrategy + # Common URL patterns + when %r[^https?://svn\.] then SubversionDownloadStrategy # Otherwise just try to download else CurlDownloadStrategy end |
