diff options
| author | Xu Cheng | 2015-03-08 16:55:12 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-03-08 17:35:54 +0800 |
| commit | 87a35e3580f6d24105ad0e302b58077b548b8cd6 (patch) | |
| tree | 3acdc5b5ed6d820959d5e8e4657b01b3f5012bd0 /Library | |
| parent | b9c002a7cfde7b8125fa5d40da5ffd66f0952929 (diff) | |
| download | brew-87a35e3580f6d24105ad0e302b58077b548b8cd6.tar.bz2 | |
doctor: $PATH should be insert as it is
Closes Homebrew/homebrew#37500.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -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 |
