From ba4a4e41034be1bde963defa09c295aeabdf2d9c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 29 Jul 2014 21:50:24 -0500 Subject: [PATCH] Limit exposure of the options data structures --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 150146329e..5070356e4f 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1006,7 +1006,7 @@ def check_for_non_prefixed_coreutils end def check_for_non_prefixed_findutils - default_names = Tab.for_name('findutils').used_options.include? 'default-names' + default_names = Tab.for_name('findutils').include? 'default-names' if default_names then <<-EOS.undent Putting non-prefixed findutils in your path can cause python builds to fail. EOS