aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 efc1bd48c..5feae1136 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -135,7 +135,7 @@ class Keg < Pathname
shortpath = HOMEBREW_PREFIX.join(relative_path)
if shortpath.exist? and not options[:keg_only]
- shortpath
+ shortpath.to_s
else
"#{HOMEBREW_PREFIX}/opt/#{fname}/#{relative_path}"
end