From 0f87351a0ee1090a07cb7b8aa34aec71f09886cf Mon Sep 17 00:00:00 2001 From: William Entriken Date: Tue, 5 Nov 2013 13:41:04 -0500 Subject: [PATCH] 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 --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 61d029d35d..28e8e0cda8 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