Always return a string from dylib_id_for

This commit is contained in:
Jack Nagel 2014-04-13 13:53:46 -05:00
parent 2d155f2d41
commit dd9b253b44

View File

@ -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