Permalink
Browse files

env: do not export . in PATH

  • Loading branch information...
1 parent aacfa61 commit b50d6da1730f48f5c47604cdffbc51957bc26d60 @cgestes committed May 13, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 etc/shell/env
View
4 etc/shell/env
@@ -67,7 +67,9 @@ test -d /sbin && env_set PATH "$PATH":/sbin
test -d /usr/sbin && env_set PATH "$PATH":/usr/sbin
test -d /usr/local/bin && env_set PATH "$PATH":/usr/local/bin
test -d ~/.config/ctafconf/bin && env_set PATH "$PATH":"$HOME"/.config/ctafconf/bin
-env_set PATH "$PATH":.
+
+#do not put . in PATH, it could lead to unobvious error.
+#env_set PATH "$PATH":.
#different plateform test
test -f ~/.config/ctafconf/etc/shell/env.`uname` && source ~/.config/ctafconf/etc/shell/env.`uname`

0 comments on commit b50d6da

Please sign in to comment.