From 1cd31496775ab8cf1051e22367c8ab6184bb3b97 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 26 Jun 2013 10:37:09 -0700 Subject: Be explicit about passing formulae names or instances to Tab --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 6c64a61ce..ad8892baa 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -974,7 +974,7 @@ def check_for_non_prefixed_coreutils end def check_for_non_prefixed_findutils - default_names = Tab.for_formula('findutils').used_options.include? 'default-names' + default_names = Tab.for_name('findutils').used_options.include? 'default-names' if default_names then <<-EOS.undent Putting non-prefixed findutils in your path can cause python builds to fail. EOS -- cgit v1.2.3