From 0869ed7092cbb9826d2542afdc695b2fcec6bc18 Mon Sep 17 00:00:00 2001 From: Lucas Holt Date: Mon, 4 Nov 2024 14:36:35 -0500 Subject: [PATCH] backport a LOCALBASE base path --- include/paths.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/paths.h b/include/paths.h index d5765e6528..25fe4dac1d 100644 --- a/include/paths.h +++ b/include/paths.h @@ -36,8 +36,11 @@ #include +#define _PATH_LOCALBASE "/usr/local" + /* Default search path. */ -#define _PATH_DEFPATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" +#define _PATH_DEFPATH "/sbin:/bin:/usr/sbin:/usr/bin:" \ + _PATH_LOCALBASE "/sbin:" _PATH_LOCALBASE "/bin" /* All standard utilities path. */ #define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" /* Locate system binaries. */