No longer set the SHELL variable. This fixes problems with starting gdb and other apps in a new Terminal window

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2010-07-07 23:48:46 +00:00
parent f419136130
commit 34c53b14a2
-1
View File
@@ -507,7 +507,6 @@ Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **arg
setenv("TERM", "xterm", true);
setenv("TTY", ttyName, true);
setenv("TTYPE", encoding, true);
setenv("SHELL", argv[0], true);
execve(argv[0], (char * const *)argv, environ);