From owner-freebsd-doc@FreeBSD.ORG Thu Aug 26 07:13:17 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF7EC16A4CE; Thu, 26 Aug 2004 07:13:17 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-50-15.dynamic.qsc.de [212.202.50.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F70743D3F; Thu, 26 Aug 2004 07:13:17 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from dhcp-10.local ([172.16.0.10]) by fillmore.dyndns.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41 (FreeBSD)) id 1C0ERe-000FFE-7h; Thu, 26 Aug 2004 09:13:16 +0200 Date: Thu, 26 Aug 2004 09:13:25 +0200 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) To: Joe Marcus Clarke From: Oliver Eikemeier In-Reply-To: <1093497532.74916.17.camel@shumai.marcuscom.com> Message-Id: <6BCED37A-F72F-11D8-91E7-00039312D914@fillmore-labs.com> Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: freebsd-doc@FreeBSD.org cc: Mark Linimon cc: portmgr@FreeBSD.org Subject: Re: docs/64342: Assumed content of PATH is not defined in Porter's Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 07:13:17 -0000 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. -Oliver