diff options
| author | Misty De Meo | 2013-04-20 23:03:23 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-04-25 18:23:43 -0500 |
| commit | 814b969963a0d8e19e493d2fffc3544393aa3448 (patch) | |
| tree | b043673f781b0298dbbf7528b098e36c4af12d5b /Library | |
| parent | b7066b6e74c5ee2d6d0029e4f988134cdb1e7a77 (diff) | |
| download | brew-814b969963a0d8e19e493d2fffc3544393aa3448.tar.bz2 | |
doctor: add default-names findutils check
Fixes Homebrew/homebrew#19265.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 1bab04a7d..3f94b678d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -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 |
