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