aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-15 09:41:23 -0700
committerAdam Vandenberg2011-03-15 09:41:23 -0700
commit599c4f034a2fa812cc2cde28f22dae59515632e7 (patch)
tree10516bdbbf31cf93b26e9c46b132f1080a04cb79 /Library/Homebrew
parent3860601c7df0da058d7197214145d30e48caad2d (diff)
downloadhomebrew-599c4f034a2fa812cc2cde28f22dae59515632e7.tar.bz2
Fix regex for svn+http
Fixes #4683
Diffstat (limited to 'Library/Homebrew')
-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