From 90f938dc867a9f340c8a4ddaa222acdb65e3c55e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 9 Dec 2014 01:39:10 -0500 Subject: [PATCH] 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. --- Library/Homebrew/download_strategy.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index b6c652b8ca..a05c1f3c30 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