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
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