aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-11 19:26:14 -0500
committerJack Nagel2013-10-11 19:26:14 -0500
commitfb2ee089810f058c89114e6867ab46f21cf8ba55 (patch)
tree6faab692f620fcb83b10c19466ca0f208b0f6755 /Library
parent6f8c02ebe27af056902e707744b4350e27d42e78 (diff)
downloadhomebrew-fb2ee089810f058c89114e6867ab46f21cf8ba55.tar.bz2
SubversionDownloadStrategy: don't mutate URL string
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 d42e0b090..cb99c205a 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -329,7 +329,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
end
def fetch
- @url.sub!(/^svn\+/, '') if @url =~ %r[^svn\+http://]
+ @url = @url.sub(/^svn\+/, '') if @url =~ %r[^svn\+http://]
ohai "Checking out #{@url}"
if @clone.exist? and not repo_valid?