diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index efc1bd48c4..5feae11368 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