diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 61d029d35d..28e8e0cda8 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -482,7 +482,7 @@ def check_user_path_1 Consider setting your PATH so that #{HOMEBREW_PREFIX}/bin occurs before /usr/bin. Here is a one-liner: - echo export PATH="#{HOMEBREW_PREFIX}/bin:$PATH" >> ~/.bash_profile + echo export PATH='#{HOMEBREW_PREFIX}/bin:$PATH' >> ~/.bash_profile EOS end end