diff options
| author | Josh Bode | 2016-01-13 00:27:32 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2016-01-18 08:44:47 +0000 |
| commit | b6729191fa62f3ebed6aba8935255f2a4f9b42a0 (patch) | |
| tree | 7f115c3392e0b3dc90b52b7da4d979c23e2e3c4b /Library | |
| parent | 624ca35f42d0941bf6f69cac3bc16079ab10f7b1 (diff) | |
| download | brew-b6729191fa62f3ebed6aba8935255f2a4f9b42a0.tar.bz2 | |
diagnostic: update check for findutils.
Check for non-prefixed findutils in path via gnubin symlinks or directly
Closes Homebrew/homebrew#46987.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 47057d662..6b8330f23 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1205,8 +1205,9 @@ module Homebrew end def check_for_non_prefixed_findutils + gnubin = "#{Formulary.factory("findutils").prefix}/libexec/gnubin" default_names = Tab.for_name("findutils").with? "default-names" - if default_names then <<-EOS.undent + if paths.include?(gnubin) || default_names then <<-EOS.undent Putting non-prefixed findutils in your path can cause python builds to fail. EOS end |
