Skip to content
Snippets Groups Projects
Commit 814b9699 authored by Misty De Meo's avatar Misty De Meo
Browse files

doctor: add default-names findutils check

Fixes Homebrew/homebrew#19265.
parent b7066b6e
No related branches found
No related tags found
No related merge requests found
......@@ -959,6 +959,14 @@ def check_for_non_prefixed_coreutils
end
end
def check_for_non_prefixed_findutils
default_names = Tab.for_formula('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
end
end
def check_for_pydistutils_cfg_in_home
if File.exist? ENV['HOME']+'/.pydistutils.cfg' then <<-EOS.undent
A .pydistutils.cfg file was found in $HOME, which may cause Python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment