1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Userland: Fix PATH environment variable ordering

This commit is contained in:
Jean-Baptiste Boric 2021-08-07 14:05:33 +02:00 committed by Andreas Kling
parent b1add5860b
commit 2084289162
5 changed files with 5 additions and 5 deletions

View file

@ -1821,7 +1821,7 @@ Shell::Shell()
path.append(getenv("PATH"));
if (path.length())
path.append(":");
path.append("/bin:/usr/bin:/usr/local/bin");
path.append("/usr/local/bin:/usr/bin:/bin");
setenv("PATH", path.to_string().characters(), true);
}