mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
Userland: Rely on a single authoritative source for the default PATH
This commit is contained in:
committed by
Linus Groh
parent
61e18c681b
commit
39a3775f48
@@ -2189,7 +2189,7 @@ Shell::Shell()
|
||||
path.append({ path_env_ptr, strlen(path_env_ptr) });
|
||||
if (path.length())
|
||||
path.append(":"sv);
|
||||
path.append("/usr/local/sbin:/usr/local/bin:/usr/bin:/bin"sv);
|
||||
path.append(DEFAULT_PATH_SV);
|
||||
setenv("PATH", path.to_string().characters(), true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user