aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-15 09:41:23 -0700
committerAdam Vandenberg2011-03-15 09:41:23 -0700
commit5f5fdb3284b1ff6c961242b1c659ea63ddaf2b67 (patch)
treeb51f857a95d2bb5933934946042ac3b6f42bb3fa /Library
parent9104fdba8c2e9176b827c0b3863c287936398529 (diff)
downloadbrew-5f5fdb3284b1ff6c961242b1c659ea63ddaf2b67.tar.bz2
Fix regex for svn+http
Fixes Homebrew/homebrew#4683
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 68ad96390..5b5ab150a 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