aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-04 22:37:58 -0600
committerJack Nagel2013-12-04 22:37:58 -0600
commit70dc0c52fb00a757b41ecb2edc7e7f2b7879074c (patch)
treebba3c1194a2c46393db2de8798a2044c8fd19095 /Library
parentf8dd7a3a41563bdba85714c2ddf8aaba3e23604e (diff)
downloadhomebrew-70dc0c52fb00a757b41ecb2edc7e7f2b7879074c.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.
Diffstat (limited to 'Library')
-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