diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 47057d662..6b8330f23 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1205,8 +1205,9 @@ module Homebrew end def check_for_non_prefixed_findutils + gnubin = "#{Formulary.factory("findutils").prefix}/libexec/gnubin" default_names = Tab.for_name("findutils").with? "default-names" - if default_names then <<-EOS.undent + if paths.include?(gnubin) || default_names then <<-EOS.undent Putting non-prefixed findutils in your path can cause python builds to fail. EOS end |
