fix doctor on 10.5

This commit is contained in:
Adam Vandenberg 2011-07-30 22:24:19 -07:00
parent 0818189b5d
commit 733e280e61

View File

@ -353,7 +353,7 @@ def check_user_path
end
# Don't complain about sbin not being in the path if it doesn't exist
if (HOMEBREW_PREFIX+'sbin').children.count > 0
if (HOMEBREW_PREFIX+'sbin').children.length > 0
unless seen_prefix_sbin
puts <<-EOS.undent
Some brews install binaries to sbin instead of bin, but Homebrew's