doctor: fix typo

Fixes Homebrew/homebrew#28221.
This commit is contained in:
Jack Nagel 2014-04-07 10:03:44 -05:00
parent c1366b111f
commit a9461dd01b

View File

@ -815,7 +815,7 @@ def __check_linked_brew f
next if src == prefix next if src == prefix
dst = HOMEBREW_PREFIX + src.relative_path_from(prefix) dst = HOMEBREW_PREFIX + src.relative_path_from(prefix)
next if !dst.symlink? || !dst.exist? || src != src.resolved_path next if !dst.symlink? || !dst.exist? || src != dst.resolved_path
if src.directory? if src.directory?
Find.prune Find.prune