diff options
| author | Jack Nagel | 2014-02-21 00:41:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-21 00:41:07 -0500 |
| commit | 19ca1bb601b15e34a89e5d8370b8e8e7783b2f54 (patch) | |
| tree | bf582d2d29bb4b50118fb56bb9ca02bf30b1627f /Library | |
| parent | 2225ebc44ec48b16035a9f1bfe55ba7a928d03cb (diff) | |
| download | brew-19ca1bb601b15e34a89e5d8370b8e8e7783b2f54.tar.bz2 | |
Access bottle directly in FormulaInstaller
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 6 |
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 |
