diff options
| author | Mike McQuaid | 2014-03-25 16:01:26 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-25 16:02:19 +0000 |
| commit | f890e4973840a66a522189c8e5530bff61d17162 (patch) | |
| tree | 75196127c11ef648d1d30eaf0fd386c10d7c5369 /Library/Homebrew/cmd/doctor.rb | |
| parent | e9da0e04aa4081138cf713347b1aa8a02c431e89 (diff) | |
| download | homebrew-f890e4973840a66a522189c8e5530bff61d17162.tar.bz2 | |
doctor: use double quotes for setting PATH.
Closes #27619.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
| -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 25ac8bbe4..379ef9fc9 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -474,7 +474,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 @@ -492,7 +492,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 @@ -506,7 +506,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 |
