diff options
| author | William Entriken | 2013-11-05 13:41:04 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-06 06:29:36 -0800 |
| commit | 2a9adad9995445ccfb7d65941d72f3718a7f6c6b (patch) | |
| tree | 26a5b4d873ef683c4904f6ab20bcad663eb317da /Library | |
| parent | 3c38a4b9262101b8e2237e9b142cfe40377b92ac (diff) | |
| download | homebrew-2a9adad9995445ccfb7d65941d72f3718a7f6c6b.tar.bz2 | |
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 #24008.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 61d029d35..28e8e0cda 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -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 |
