aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-04-27 20:39:20 -0400
committerJack Nagel2015-04-27 20:39:20 -0400
commit92cbac7966015e26416ee164a15f12d69c989765 (patch)
treebdd5d4728d71211628da40cb4d370c5d2481aad1 /Library
parent9ed00fc7faca2159fc317c48caad369632700f95 (diff)
downloadbrew-92cbac7966015e26416ee164a15f12d69c989765.tar.bz2
Simplify substitution
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