Skip to content

Commit 0869ed7

Browse files
committed
backport a LOCALBASE base path
1 parent ed6794e commit 0869ed7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/paths.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@
3636

3737
#include <sys/cdefs.h>
3838

39+
#define _PATH_LOCALBASE "/usr/local"
40+
3941
/* Default search path. */
40-
#define _PATH_DEFPATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
42+
#define _PATH_DEFPATH "/sbin:/bin:/usr/sbin:/usr/bin:" \
43+
_PATH_LOCALBASE "/sbin:" _PATH_LOCALBASE "/bin"
4144
/* All standard utilities path. */
4245
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
4346
/* Locate system binaries. */

0 commit comments

Comments
 (0)