mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
Terminal: Add /usr/local/bin to the default PATH.
Now that we're building all these ports, let's have them in the PATH. :^)
This commit is contained in:
parent
6785250f8c
commit
1361721053
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static void make_shell(int ptm_fd)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
char* args[] = { "/bin/Shell", nullptr };
|
char* args[] = { "/bin/Shell", nullptr };
|
||||||
char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin", nullptr };
|
char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin:/usr/local/bin", nullptr };
|
||||||
rc = execve("/bin/Shell", args, envs);
|
rc = execve("/bin/Shell", args, envs);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
perror("execve");
|
perror("execve");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue