diff options
| author | Jack Nagel | 2013-10-11 19:26:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-10-11 19:26:14 -0500 |
| commit | 40c0ed8a9a2c7355da6cf880b0d541afa8a2b60c (patch) | |
| tree | cc7ec36407ffa8fde51d4fec3da873e487e889ea /Library | |
| parent | 284a3716eab362be520f30e77c49abc5e0ec9b6f (diff) | |
| download | brew-40c0ed8a9a2c7355da6cf880b0d541afa8a2b60c.tar.bz2 | |
SubversionDownloadStrategy: don't mutate URL string
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
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? |
