aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-21 00:41:07 -0500
committerJack Nagel2014-02-21 00:41:07 -0500
commit65c0cca5bc15ab67ba0a498052be8fd769ecc2e9 (patch)
tree496926ee207dc0f7e60ef95d639e4bb9ced10a8e /Library
parente5a7ea7ede989c3faa6f71409d158f1ca0f94eda (diff)
downloadhomebrew-65c0cca5bc15ab67ba0a498052be8fd769ecc2e9.tar.bz2
Access bottle directly in FormulaInstaller
Diffstat (limited to 'Library')
-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