Author: darkwyrm Date: 2010-07-08 01:48:46 +0200 (Thu, 08 Jul 2010) New Revision: 37423 Changeset: http://dev.haiku-os.org/changeset/37423/haiku Modified: haiku/trunk/src/apps/terminal/Shell.cpp Log: No longer set the SHELL variable. This fixes problems with starting gdb and other apps in a new Terminal window Modified: haiku/trunk/src/apps/terminal/Shell.cpp =================================================================== --- haiku/trunk/src/apps/terminal/Shell.cpp 2010-07-07 21:52:30 UTC (rev 37422) +++ haiku/trunk/src/apps/terminal/Shell.cpp 2010-07-07 23:48:46 UTC (rev 37423) @@ -507,7 +507,6 @@ setenv("TERM", "xterm", true); setenv("TTY", ttyName, true); setenv("TTYPE", encoding, true); - setenv("SHELL", argv[0], true); execve(argv[0], (char * const *)argv, environ);