From 0daa33668b66a4c2a9dfee554845ce58f6a3475a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 4 Dec 2013 22:37:58 -0600 Subject: [PATCH] Run relocation machinery on local bottles Since we now use placeholders for the prefix and cellar, we need to run the relocation machinery on all bottles. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index f69e1f3a10..d8ff6da089 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -438,7 +438,7 @@ class FormulaInstaller keg = Keg.new(f.prefix) keg.fix_install_names(:keg_only => f.keg_only?) - if @poured_bottle and f.bottle + if @poured_bottle keg.relocate_install_names Keg::PREFIX_PLACEHOLDER, HOMEBREW_PREFIX.to_s, Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s, :keg_only => f.keg_only? end