aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2015-09-11 18:55:46 +0800
committerXu Cheng2015-09-12 01:38:59 +0800
commitd911b5689a3e464f19b0756eb6eb4279d157cf53 (patch)
treedd4241dd9ec292532d23b43bedfcc8f5651537c3 /Library/Homebrew/cmd
parent7ce0a2dedbb580501557168cacf14e27525cd2ad (diff)
downloadbrew-d911b5689a3e464f19b0756eb6eb4279d157cf53.tar.bz2
keg_relocate: split relocate_install_names and relocate_text_files
For bottle with `:any_skip_relocation`, relocating text files is required.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/bottle.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 156860b50..3a95759cd 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -169,6 +169,8 @@ module Homebrew
begin
keg.relocate_install_names prefix, Keg::PREFIX_PLACEHOLDER,
cellar, Keg::CELLAR_PLACEHOLDER, :keg_only => f.keg_only?
+ keg.relocate_text_files prefix, Keg::PREFIX_PLACEHOLDER,
+ cellar, Keg::CELLAR_PLACEHOLDER
keg.delete_pyc_files!
cd cellar do