Access bottle directly in FormulaInstaller

This commit is contained in:
Jack Nagel 2014-02-21 00:41:07 -05:00
parent 2225ebc44e
commit 19ca1bb601

View File

@ -511,9 +511,9 @@ class FormulaInstaller
if f.local_bottle_path if f.local_bottle_path
downloader = LocalBottleDownloadStrategy.new(f) downloader = LocalBottleDownloadStrategy.new(f)
else else
downloader = f.downloader bottle = f.bottle
fetched = f.fetch downloader = bottle.downloader
f.verify_download_integrity fetched bottle.verify_download_integrity(bottle.fetch)
end end
HOMEBREW_CELLAR.cd do HOMEBREW_CELLAR.cd do
downloader.stage downloader.stage