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
commitc9ebe08d2e7d1cfcb54a6ea07c9553ef216363e0 (patch)
tree14e046cea9ab3f463bb61124209d2179c0b9167e /Library
parentea3eea82a74bb8636e1d01924fc3369c54770bee (diff)
downloadhomebrew-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.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