aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSimon COURTOIS2011-03-15 17:55:40 +0100
committerAdam Vandenberg2011-03-22 10:18:23 -0700
commit846087d5859cb0fb8b37321e477fb5114d0d4104 (patch)
tree12f48092722d11632177970d774298004fd1ae14 /Library
parentc2c21edae4f71dbc64eef6e4d0b53991248f1aab (diff)
downloadbrew-846087d5859cb0fb8b37321e477fb5114d0d4104.tar.bz2
Removing svn+ when using svn+http to avoid Undefined tunnel scheme error
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 8324de8f4..e43337b27 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -164,6 +164,7 @@ class SubversionDownloadStrategy <AbstractDownloadStrategy
end
def fetch
+ @url.sub!(/^svn\+/, '') if @url =~ %r[^svn\+http://]
ohai "Checking out #{@url}"
if @spec == :revision
fetch_repo @co, @url, @ref