diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-01-03 16:56:23 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-01-03 16:56:23 +0000 |
commit | a022b87cdb1eb84353dc32eca593a9903eb65cc5 (patch) | |
tree | 697e46687d36986cf7251a4f4b11210a17618a3b /usr.sbin/pkg_add | |
parent | a9a2f626b09fee7ff6652a5fca48ddb93caac882 (diff) |
PATH is now fixed
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_create.1 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1 index 31c09143b13..eb53ceab4bd 100644 --- a/usr.sbin/pkg_add/pkg_create.1 +++ b/usr.sbin/pkg_add/pkg_create.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_create.1,v 1.87 2014/01/03 15:23:16 jmc Exp $ +.\" $OpenBSD: pkg_create.1,v 1.88 2014/01/03 16:56:22 espie Exp $ .\" .\" Documentation and design originally from FreeBSD. All the code has .\" been rewritten since. We keep the documentation's notice: @@ -432,6 +432,19 @@ Some special elements, such as new users and new groups, are always created first, so that .Cm @exec can rely on them. +.Pp +.Xr pkg_add 1 +and +.Xr pkg_delete 1 +set the +.Ev PATH +to a predictable value: +.Bd -literal -offset indent +/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:${LOCALBASE}/bin:${LOCALBASE}/sbin +.Ed +.Pp +during execution. +.Pp If .Ar command contains any of the following sequences somewhere in it, they will @@ -792,9 +805,10 @@ Execute .Ar command during .Xr pkg_delete 1 . -Expansion of special +.Ev PATH +and expansion of special .Cm \&% -sequences is the same as for +sequences are the same as for .Cm @exec . Note that .Cm @unexec |