doctor: f.prefix is already a pathname

This commit is contained in:
Jack Nagel 2012-12-21 19:33:24 -06:00
parent 2b47739822
commit 4e9128aa6c

View File

@ -738,7 +738,7 @@ end
def __check_linked_brew f
links_found = []
Pathname.new(f.prefix).find do |src|
f.prefix.find do |src|
dst=HOMEBREW_PREFIX+src.relative_path_from(f.prefix)
next unless dst.symlink?