1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

Userland: Rely on a single authoritative source for the default PATH

This commit is contained in:
Tim Schumacher 2022-08-20 17:01:53 +02:00 committed by Linus Groh
parent 61e18c681b
commit 39a3775f48
7 changed files with 14 additions and 7 deletions

View file

@ -11,6 +11,10 @@
#include <LibCore/IODevice.h>
#include <sys/stat.h>
// FIXME: Make this a bit prettier.
#define DEFAULT_PATH "/usr/local/sbin:/usr/local/bin:/usr/bin:/bin"
#define DEFAULT_PATH_SV "/usr/local/sbin:/usr/local/bin:/usr/bin:/bin"sv
namespace Core {
class File final : public IODevice {