From dcc3377aa30b34dfcced0df77696674f91a5a9f3 Mon Sep 17 00:00:00 2001 From: Greg Nisbet Date: Tue, 14 Jun 2016 22:31:48 -0700 Subject: move shell_profile to compat/utils.rb & deprecate --- Library/Homebrew/utils/shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils') diff --git a/Library/Homebrew/utils/shell.rb b/Library/Homebrew/utils/shell.rb index 19e696795..c0d6b90ae 100644 --- a/Library/Homebrew/utils/shell.rb +++ b/Library/Homebrew/utils/shell.rb @@ -76,7 +76,7 @@ module Utils def self.prepend_path_in_shell_profile(path) case preferred_shell when :bash, :ksh, :sh, :zsh, nil - "echo 'export PATH=\"#{sh_quote(path)}:$PATH'\" >> #{shell_profile}" + "echo 'export PATH=\"#{sh_quote(path)}:$PATH\"' >> #{shell_profile}" when :csh, :tcsh "echo 'setenv PATH #{csh_quote(path)}:$PATH' >> #{shell_profile}" when :fish -- cgit v1.2.3