libCom/iocsh: Set IOCSH_STARTUP_SCRIPT env var.

This commit is contained in:
Andrew Johnson
2011-04-26 14:57:26 -05:00
parent ed0e3e60ed
commit c11a31f549
2 changed files with 9 additions and 2 deletions

View File

@@ -798,6 +798,7 @@ iocshBody (const char *pathname, const char *commandLine)
int epicsShareAPI
iocsh (const char *pathname)
{
epicsEnvSet("IOCSH_STARTUP_SCRIPT", pathname);
return iocshBody(pathname, NULL);
}