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.
This commit is contained in:
parent
2e89175eef
commit
0daa33668b
@ -438,7 +438,7 @@ class FormulaInstaller
|
|||||||
keg = Keg.new(f.prefix)
|
keg = Keg.new(f.prefix)
|
||||||
keg.fix_install_names(:keg_only => f.keg_only?)
|
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.relocate_install_names Keg::PREFIX_PLACEHOLDER, HOMEBREW_PREFIX.to_s,
|
||||||
Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s, :keg_only => f.keg_only?
|
Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s, :keg_only => f.keg_only?
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user