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:
parent
f580e9271b
commit
0f87351a0e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user