aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg_fix_install_names.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-30 20:16:01 -0500
committerJack Nagel2014-06-30 20:30:50 -0500
commiteae9d5c3788a1b3b8bcf35fda5fbc2010f45783e (patch)
tree823478a7a88e8efa50db4f55b0ed171ab3f55c0f /Library/Homebrew/keg_fix_install_names.rb
parenteaef443c4b9fb6eb3473e424c8f37fa5e022e810 (diff)
downloadhomebrew-eae9d5c3788a1b3b8bcf35fda5fbc2010f45783e.tar.bz2
Store the opt record so we don't have to keep reconstructing it
Diffstat (limited to 'Library/Homebrew/keg_fix_install_names.rb')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index ad98f77d6..0946c9215 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -141,7 +141,7 @@ class Keg
if shortpath.exist? and not options[:keg_only]
shortpath.to_s
else
- HOMEBREW_PREFIX.join("opt", name, relative_dirname, basename).to_s
+ opt_record.join(relative_dirname, basename).to_s
end
end