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
commit40c0ed8a9a2c7355da6cf880b0d541afa8a2b60c (patch)
treecc7ec36407ffa8fde51d4fec3da873e487e889ea /Library
parent284a3716eab362be520f30e77c49abc5e0ec9b6f (diff)
downloadbrew-40c0ed8a9a2c7355da6cf880b0d541afa8a2b60c.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?