diff options
| author | Jack Nagel | 2014-03-18 15:47:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-18 21:28:33 -0500 |
| commit | 184e40b3004a10884682d75042989c3f6bfc7eab (patch) | |
| tree | 3fd35117841c1b2cae2e1858236971277c9e56d7 /Library/Homebrew/download_strategy.rb | |
| parent | d55345a98bd7cd44f818726d268f5bf54d4e0b4a (diff) | |
| download | homebrew-184e40b3004a10884682d75042989c3f6bfc7eab.tar.bz2 | |
Set bottle download strategy directly
We know what strategy we want, so going through DownloadStrategyDetector
is wasted work. Now we can remove those patterns from the detector and
have two fewer branches each time through.
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e3caa07f7..479365c98 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -828,8 +828,6 @@ class DownloadStrategyDetector SubversionDownloadStrategy when %r[^https?://(.+?\.)?sourceforge\.net/hgweb/] MercurialDownloadStrategy - when bottle_native_regex, bottle_regex - CurlBottleDownloadStrategy else CurlDownloadStrategy end |
