diff options
| author | Xu Cheng | 2015-03-08 16:55:12 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-03-08 17:35:54 +0800 |
| commit | 8b3d4dbf5b2792596985930ff27764fd88544743 (patch) | |
| tree | 317b700f5602bce20cb9497545095801a66dbc4b | |
| parent | 6671da2c64559639dda72b0617f73f31e127ee47 (diff) | |
| download | homebrew-8b3d4dbf5b2792596985930ff27764fd88544743.tar.bz2 | |
doctor: $PATH should be insert as it is
Closes #37500.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 814588cdb..e11047074 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 |
