aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-03-08 15:46:59 +0800
committerXu Cheng2015-03-08 16:01:17 +0800
commit6671da2c64559639dda72b0617f73f31e127ee47 (patch)
treed15fec91cfc7f9778a750c6a2f531249bebd94e5 /Library
parentb851e9d3d1105b7fc596a89cd17de9e4ffcd6dbc (diff)
downloadhomebrew-6671da2c64559639dda72b0617f73f31e127ee47.tar.bz2
doctor: export command should use double quotes
Closes #37496 Closes #37497. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 6239754da..814588cdb 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