Skip to content
Snippets Groups Projects
Commit 4a972e5f authored by Jack Nagel's avatar Jack Nagel
Browse files

Ensure cellar path is replace correctly for relocatable bottles

parent d6a94eb4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment