From 34c53b14a2dc30f5cb25675978e68c748b6fce8e Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Wed, 7 Jul 2010 23:48:46 +0000 Subject: [PATCH] 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 --- src/apps/terminal/Shell.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/apps/terminal/Shell.cpp b/src/apps/terminal/Shell.cpp index 2577b4501c..120a5418f6 100644 --- a/src/apps/terminal/Shell.cpp +++ b/src/apps/terminal/Shell.cpp @@ -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);