Always return a string from dylib_id_for
This commit is contained in:
parent
2d155f2d41
commit
dd9b253b44
@ -135,7 +135,7 @@ class Keg < Pathname
|
|||||||
shortpath = HOMEBREW_PREFIX.join(relative_path)
|
shortpath = HOMEBREW_PREFIX.join(relative_path)
|
||||||
|
|
||||||
if shortpath.exist? and not options[:keg_only]
|
if shortpath.exist? and not options[:keg_only]
|
||||||
shortpath
|
shortpath.to_s
|
||||||
else
|
else
|
||||||
"#{HOMEBREW_PREFIX}/opt/#{fname}/#{relative_path}"
|
"#{HOMEBREW_PREFIX}/opt/#{fname}/#{relative_path}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user