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
commit2fcc7af6784d9d9fc23b96da57b595e392134505 (patch)
tree0c333c6edb68c2dd2287252a7038262ce237fba4 /Library
parent7f0c0ff0b8f44e338b013728a9954e4d99541e57 (diff)
downloadhomebrew-2fcc7af6784d9d9fc23b96da57b595e392134505.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