diff options
| author | Jack Nagel | 2013-11-30 19:38:49 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-01 17:05:02 -0600 |
| commit | 71d8ae8c3fcc868ff11b6ba3f938fe1ed6562904 (patch) | |
| tree | cf531dab1f67776ce2d12bc6aabd28fe77e973fa /Library | |
| parent | 2b12d806ebaad325fa87b74e938f2dbc9d908f77 (diff) | |
| download | homebrew-71d8ae8c3fcc868ff11b6ba3f938fe1ed6562904.tar.bz2 | |
Ensure cellar path is replace correctly for relocatable bottles
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index 2d79e9180..3900e774b 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -41,8 +41,7 @@ class Keg end # Search for pkgconfig .pc files and relocate references to the cellar - old_cellar = HOMEBREW_CELLAR if old_cellar == :any - old_prefix = HOMEBREW_PREFIX if old_prefix == :any + old_cellar = "#{old_prefix}/Cellar" if old_cellar == :any pkgconfig_files.each do |pcfile| pcfile.ensure_writable do |
