docs/64342: Assumed content of PATH is not defined in Porter's Handbook

Joe Marcus Clarke marcus at marcuscom.com
Thu Aug 26 16:14:27 UTC 2004


On Thu, 2004-08-26 at 03:13, Oliver Eikemeier wrote:
> Joe Marcus Clarke wrote:
> 
> > I think it's fair to assume that PATH will be (as it pertains to
> > @[un]exec commands, post-install commands, etc.):
> >
> > /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
> >
> > This is what it is set to during package builds on pointyhat, and is a
> > reasonable default.
> 
> PATH is a strange beast, since pkg_add(1) sets it to
> 
>    /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> 
> for pkg_req, pkg_install and @exec. pkg_delete(1) just inherits the PATH 
> given in the environment.

I think this should be changed to use the PATH on pointyhat.  I don't
see any reason why /usr/local/sbin:/usr/local/bin shouldn't be in there.

Joe

> -Oliver
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040826/f58a5b46/attachment.sig>


More information about the freebsd-doc mailing list