doctor: quoting fix

The one liner should put `#{HOMEBREW_PREFIX}/bin:$PATH` into bash profile.
Previously it was being interpreted by the shell before being put in bash profile.

Closes Homebrew/homebrew#24008.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
William Entriken 2013-11-05 13:41:04 -05:00 committed by Adam Vandenberg
parent f580e9271b
commit 0f87351a0e

View File

@ -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