From 5f5fdb3284b1ff6c961242b1c659ea63ddaf2b67 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 15 Mar 2011 09:41:23 -0700 Subject: [PATCH] Fix regex for svn+http Fixes Homebrew/homebrew#4683 --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 68ad963902..5b5ab150a6 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -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