aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-12-04 22:37:58 -0600
committerJack Nagel2013-12-04 22:37:58 -0600
commit0daa33668b66a4c2a9dfee554845ce58f6a3475a (patch)
tree71504e5c45485580643da2d1d787347bfd7af023
parent2e89175eefe54ff9539e4af05cbce0fc9f4e305e (diff)
downloadbrew-0daa33668b66a4c2a9dfee554845ce58f6a3475a.tar.bz2
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.
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index f69e1f3a1..d8ff6da08 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