diff options
| author | Jack Nagel | 2014-12-09 01:39:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-09 12:47:10 -0500 |
| commit | c9ebe08d2e7d1cfcb54a6ea07c9553ef216363e0 (patch) | |
| tree | 14e046cea9ab3f463bb61124209d2179c0b9167e /Library | |
| parent | ea3eea82a74bb8636e1d01924fc3369c54770bee (diff) | |
| download | homebrew-c9ebe08d2e7d1cfcb54a6ea07c9553ef216363e0.tar.bz2 | |
Stop returning a path from CurlDownloadStrategy#fetch
Download strategies do not consistently return a value from `fetch`, so
our code calls `cached_location` to get the path instead.
Diffstat (limited to 'Library')
| -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 b6c652b8c..a05c1f3c3 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -162,8 +162,6 @@ class CurlDownloadStrategy < AbstractDownloadStrategy puts "Trying a mirror..." @url = mirrors.shift retry - else - tarball_path end # gunzip and bunzip2 write the output file in the same directory as the input |
