diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 814588cdb15ba5aae9f11bc6b483010f947dfb34..e11047074658f38a701a19c06c28e04be4c0f74d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -570,7 +570,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 @@ -588,7 +588,7 @@ def check_user_path_2 <<-EOS.undent Homebrew's bin was not found in your PATH. Consider setting the PATH for example like so - echo export PATH="#{HOMEBREW_PREFIX}/bin:$PATH" >> ~/.bash_profile + echo 'export PATH="#{HOMEBREW_PREFIX}/bin:$PATH"' >> ~/.bash_profile EOS end end @@ -602,7 +602,7 @@ def check_user_path_3 Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in #{HOMEBREW_PREFIX}/sbin. Consider setting the PATH for example like so - echo export PATH="#{HOMEBREW_PREFIX}/sbin:$PATH" >> ~/.bash_profile + echo 'export PATH="#{HOMEBREW_PREFIX}/sbin:$PATH"' >> ~/.bash_profile EOS end end