diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index a72ce689f5..8cb729dd10 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1043,7 +1043,7 @@ def check_for_non_prefixed_coreutils end def check_for_non_prefixed_findutils - default_names = Tab.for_name('findutils').include? 'default-names' + default_names = Tab.for_name('findutils').with? "default-names" if default_names then <<-EOS.undent Putting non-prefixed findutils in your path can cause python builds to fail. EOS