doctor: add default-names findutils check
Fixes Homebrew/homebrew#19265.
This commit is contained in:
parent
b7066b6e74
commit
814b969963
@ -959,6 +959,14 @@ def check_for_non_prefixed_coreutils
|
|||||||
end
|
end
|
||||||
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
|
def check_for_pydistutils_cfg_in_home
|
||||||
if File.exist? ENV['HOME']+'/.pydistutils.cfg' then <<-EOS.undent
|
if File.exist? ENV['HOME']+'/.pydistutils.cfg' then <<-EOS.undent
|
||||||
A .pydistutils.cfg file was found in $HOME, which may cause Python
|
A .pydistutils.cfg file was found in $HOME, which may cause Python
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user