aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/shell.rb
diff options
context:
space:
mode:
authorGreg Nisbet2016-06-14 22:31:48 -0700
committerGreg Nisbet2016-08-10 23:21:30 -0700
commitdcc3377aa30b34dfcced0df77696674f91a5a9f3 (patch)
tree0e0e2133f7e7f335b252c6aaeb8ce8bcba79161d /Library/Homebrew/utils/shell.rb
parentbf63c08d50acb5fa79413325029e67e2c28a6023 (diff)
downloadbrew-dcc3377aa30b34dfcced0df77696674f91a5a9f3.tar.bz2
move shell_profile to compat/utils.rb & deprecate
Diffstat (limited to 'Library/Homebrew/utils/shell.rb')
-rw-r--r--Library/Homebrew/utils/shell.rb2
1 files changed, 1 insertions, 1 deletions
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