diff options
| author | Mike McQuaid | 2015-05-26 14:15:14 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-05-27 10:21:46 +0100 |
| commit | fc5070c252c4f00bad57366381b43c596e0208f9 (patch) | |
| tree | 11954e2f73e75eb5f61b7527eacf16b62f513726 /Library | |
| parent | f55257306e609859cba568528abea45d78f1844c (diff) | |
| download | brew-fc5070c252c4f00bad57366381b43c596e0208f9.tar.bz2 | |
formula_installer: set tap source for bottles.
This defaults to the value that's in the bottle but that isn't
necessarily correct. For example, some Boxen modules will reuse our
old bottles and so if they are installed from there we should be sure
to set the tab's tap to the tap we've installed from rather than the one
set inside the bottle's tarball.
Closes Homebrew/homebrew#40096.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 3ee3062a5..8459a90ed 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -631,6 +631,7 @@ class FormulaInstaller ) tab = Tab.for_keg(formula.prefix) + tab.tap = formula.tap tab.poured_from_bottle = true tab.write end |
