diff options
| author | Jack Nagel | 2015-04-27 20:39:20 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-04-27 20:39:20 -0400 |
| commit | 92cbac7966015e26416ee164a15f12d69c989765 (patch) | |
| tree | bdd5d4728d71211628da40cb4d370c5d2481aad1 /Library | |
| parent | 9ed00fc7faca2159fc317c48caad369632700f95 (diff) | |
| download | brew-92cbac7966015e26416ee164a15f12d69c989765.tar.bz2 | |
Simplify substitution
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 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 |
