Skip to content

Commit

Permalink
backport a LOCALBASE base path
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Nov 4, 2024
1 parent ed6794e commit 0869ed7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@

#include <sys/cdefs.h>

#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. */
Expand Down

0 comments on commit 0869ed7

Please sign in to comment.