Home | History | Annotate | Download | only in sh

Lines Matching refs:PATH

613 	static char def_path[] = "PATH=/usr/bin:/bin:/usr/sbin:/sbin";
621 memcpy(sys_path, "PATH=", 5);
696 const char *path = pathval();
786 static const char PATH[] = "PATH=";
790 * Modify the command lookup path, if a PATH= assignment
794 if (strncmp(sp->text, PATH, sizeof(PATH) - 1) == 0)
795 path = sp->text + sizeof(PATH) - 1;
799 find_command(argv[0], &cmdentry, cmd_flags, path);
820 path = syspath() + 5;
992 * corruped by temporary PATH assignments.
995 if (path != pathval() && (cmdentry.u.bltin == hashcmd ||
999 mklocal(path - 5 /* PATH= */, 0);
1065 shellexec(argv, envp, path, cmdentry.u.index, vforked);