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 | 2b34a9c612c7f928fdeb13ac90ada2becd26a1c1 (patch) | |
| tree | 23b6ccd729bbb40f56c8c7cbdc158174a7b09eb5 /Library/Homebrew | |
| parent | 58830d40d01357b29d5579ca34c6990f4ebe370e (diff) | |
| download | homebrew-2b34a9c612c7f928fdeb13ac90ada2becd26a1c1.tar.bz2 | |
doctor: add default-names findutils check
Fixes #19265.
Diffstat (limited to 'Library/Homebrew')
| -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 |
