aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-04-20 23:03:23 -0500
committerMisty De Meo2013-04-25 18:23:43 -0500
commit814b969963a0d8e19e493d2fffc3544393aa3448 (patch)
treeb043673f781b0298dbbf7528b098e36c4af12d5b /Library
parentb7066b6e74c5ee2d6d0029e4f988134cdb1e7a77 (diff)
downloadbrew-814b969963a0d8e19e493d2fffc3544393aa3448.tar.bz2
doctor: add default-names findutils check
Fixes Homebrew/homebrew#19265.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb8
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