aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-19 08:14:44 +0100
committerGitHub2016-09-19 08:14:44 +0100
commite4fb2ce3bdc58719cfacb18d56f2b201112fbf63 (patch)
tree0a556dcca261be0ff7f814e3a4f8f7392203fa30 /Library/Homebrew/formula_installer.rb
parent8e9a9b6428e5d6fea6d9808ab2c6101f598e0eb7 (diff)
parent997ccb044d21fccb1a95ef4eefad0fa892289e02 (diff)
downloadbrew-e4fb2ce3bdc58719cfacb18d56f2b201112fbf63.tar.bz2
Merge pull request #1015 from MikeMcQuaid/relocate-repository
Relocate HOMEBREW_REPOSITORY when necessary.
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-rw-r--r--Library/Homebrew/formula_installer.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 18267ee78..f64b77026 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -779,7 +779,8 @@ class FormulaInstaller
Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s
end
keg.relocate_text_files Keg::PREFIX_PLACEHOLDER, HOMEBREW_PREFIX.to_s,
- Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s
+ Keg::CELLAR_PLACEHOLDER, HOMEBREW_CELLAR.to_s,
+ Keg::REPOSITORY_PLACEHOLDER, HOMEBREW_REPOSITORY.to_s
Pathname.glob("#{formula.bottle_prefix}/{etc,var}/**/*") do |path|
path.extend(InstallRenamed)