diff options
| author | Adam Vandenberg | 2013-03-13 10:22:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-13 10:22:09 -0700 |
| commit | fa54679a1bfe11b41f519490ff30561396f49625 (patch) | |
| tree | ec1dcb9f83c4b1d9737031bc1b80e8109d095c31 /Library | |
| parent | a75b095fe5d274842411b3767be7fdf6d05c5f8a (diff) | |
| download | homebrew-fa54679a1bfe11b41f519490ff30561396f49625.tar.bz2 | |
doctor: add check for coreutils in path
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 8016d142e..06f3d8c6e 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -982,6 +982,14 @@ def check_for_bad_python_symlink end end +def check_for_non_prefixed_coreutils + gnubin = `brew --prefix coreutils`.chomp + "/libexec/gnubin" + if paths.include? gnubin then <<-EOS.undent + Putting non-prefixed coreutils in your path can cause gmp 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 |
