SCCS-vsn: bin/csh/csh.c 4.21
-static char *sccsid = "@(#)csh.c 4.20 (Berkeley) %G%";
+static char *sccsid = "@(#)csh.c 4.21 (Berkeley) %G%";
set1("path", saveblk(pathlist), &shvhed);
else
importpath(cp);
set1("path", saveblk(pathlist), &shvhed);
else
importpath(cp);
- if ((cp = getenv("SHELL")) == NOSTR)
- cp = SHELLPATH;
- set("shell", savestr(cp));
+ set("shell", SHELLPATH);
doldol = putn(getpid()); /* For $$ */
shtemp = strspl("/tmp/sh", doldol); /* For << */
doldol = putn(getpid()); /* For $$ */
shtemp = strspl("/tmp/sh", doldol); /* For << */