diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-05 22:49:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-05 22:49:23 +0000 |
commit | df429f4699c1360689b59e8c2440ab71c5c80656 (patch) | |
tree | 98ff85a15a26642640d555e4b28d599d775702fe /bin/sh | |
parent | 2e101cf42bcedd60b9f18df6082dffdf52b8ca77 (diff) | |
download | FreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.zip FreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.tar.gz |
Centralize _PATH_* definitions.
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/var.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c index 1893d77..508867f 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <stdlib.h> +#include <paths.h> /* * Shell variables. @@ -105,7 +106,7 @@ const struct varinit varinit[] = { NULL }, { &vmpath, VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH=", NULL }, - { &vpath, VSTRFIXED|VTEXTFIXED, "PATH=/bin:/usr/bin", + { &vpath, VSTRFIXED|VTEXTFIXED, "PATH=" _PATH_DEFPATH, changepath }, { &vppid, VSTRFIXED|VTEXTFIXED|VUNSET, "PPID=", NULL }, |