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>
This commit is contained in:
parent
624ca35f42
commit
b6729191fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user