aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-09 01:39:10 -0500
committerJack Nagel2014-12-09 12:47:10 -0500
commit90f938dc867a9f340c8a4ddaa222acdb65e3c55e (patch)
treeef82d15f420c316e0b2ebfa47d7bcd437d7330c8 /Library
parent585ddb5428bf79dd25a65c76346160e3367a7bcf (diff)
downloadbrew-90f938dc867a9f340c8a4ddaa222acdb65e3c55e.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.rb2
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