From 19ca1bb601b15e34a89e5d8370b8e8e7783b2f54 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Feb 2014 00:41:07 -0500 Subject: [PATCH] Access bottle directly in FormulaInstaller --- Library/Homebrew/formula_installer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 78dec61036..b35eafef64 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