Merge pull request #8002 from gromgit/fix_diag_wording

check_user_path_1: Fix message presentation
This commit is contained in:
Bo Anderson 2020-07-14 12:31:02 +01:00 committed by GitHub
commit b931f5064f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,11 +392,11 @@ module Homebrew
message = inject_file_list conflicts, <<~EOS message = inject_file_list conflicts, <<~EOS
/usr/bin occurs before #{HOMEBREW_PREFIX}/bin /usr/bin occurs before #{HOMEBREW_PREFIX}/bin
This means that system-provided programs will be used instead of those This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths: provided by Homebrew. Consider setting your PATH so that
#{HOMEBREW_PREFIX}/bin occurs before /usr/bin. Here is a one-liner:
Consider setting your PATH so that #{HOMEBREW_PREFIX}/bin
occurs before /usr/bin. Here is a one-liner:
#{Utils::Shell.prepend_path_in_profile("#{HOMEBREW_PREFIX}/bin")} #{Utils::Shell.prepend_path_in_profile("#{HOMEBREW_PREFIX}/bin")}
The following tools exist at both paths:
EOS EOS
end end
end end