aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formula_installer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 78dec6103..b35eafef6 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -511,9 +511,9 @@ class FormulaInstaller
if f.local_bottle_path
downloader = LocalBottleDownloadStrategy.new(f)
else
- downloader = f.downloader
- fetched = f.fetch
- f.verify_download_integrity fetched
+ bottle = f.bottle
+ downloader = bottle.downloader
+ bottle.verify_download_integrity(bottle.fetch)
end
HOMEBREW_CELLAR.cd do
downloader.stage