aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorWilliam Entriken2013-11-05 13:41:04 -0500
committerAdam Vandenberg2013-11-06 06:29:36 -0800
commit0f87351a0ee1090a07cb7b8aa34aec71f09886cf (patch)
tree6f82de5d3d4c5e2e66fd18421b06202e1400cd50 /Library/Homebrew
parentf580e9271b961fc8be44d1f63b8573941f8d3ba8 (diff)
downloadbrew-0f87351a0ee1090a07cb7b8aa34aec71f09886cf.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 Homebrew/homebrew#24008. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
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