From fc5070c252c4f00bad57366381b43c596e0208f9 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 26 May 2015 14:15:14 +0100 Subject: 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 --- Library/Homebrew/formula_installer.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3