Skip to content
Snippets Groups Projects
Commit 0d898edc authored by Mike McQuaid's avatar Mike McQuaid
Browse files

doctor: use double quotes for setting PATH.

Closes Homebrew/homebrew#27619.
parent bfc6a73c
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,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
......@@ -492,7 +492,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
......@@ -506,7 +506,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment