diff options
| author | Adam Vandenberg | 2011-12-18 08:36:44 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-18 08:36:44 -0800 |
| commit | 8c0796e805bfb95381e81bb43d38a3f3f7160974 (patch) | |
| tree | abc4ce2dc775817baa3baa8cecb74a10543e4ed3 /Library | |
| parent | 9600b67ecaf5bbf2d3a115780b1004874893b450 (diff) | |
| download | homebrew-8c0796e805bfb95381e81bb43d38a3f3f7160974.tar.bz2 | |
doctor: check for Enthought Python
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index b702888e8..eb9ec885f 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -799,6 +799,18 @@ def check_git_version end end +def check_for_enthought_python + return unless system "/usr/bin/which -s enpkg" + puts <<-EOS.undent + Enthought Python was found in your PATH. + + This can cause build problems, as this software installs its own + copies of iconv and libxml2 into folders that are picked up by + other build systems. + + EOS +end + module Homebrew extend self def doctor old_stdout = $stdout @@ -844,6 +856,7 @@ module Homebrew extend self check_git_status check_for_leopard_ssl check_git_version + check_for_enthought_python ensure $stdout = old_stdout end |
