aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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 1914db8df..d270ec46e 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -452,7 +452,7 @@ end
class SubversionDownloadStrategy < VCSDownloadStrategy
def initialize(name, resource)
super
- @url = @url.sub(/^svn\+/, "") if @url.start_with?("svn+http://")
+ @url = @url.sub("svn+http://", "")
end
def fetch