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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user