Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 10:52:52 -0500
From:      Andrew J Caines <A.J.Caines@halplant.com>
To:        ports@FreeBSD.org
Subject:   Re: HEADS UP: Latest round of bsd.*.mk changes
Message-ID:  <20040206155252.GG66258@hal9000.halplant.com>
In-Reply-To: <20040206062100.GB29898@dragon.nuxi.com>
References:  <1075871381.76993.21.camel@shumai.marcuscom.com> <20040206062100.GB29898@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien <obrien@FreeBSD.org> said...
> Do we assume the builder has zero $PATH at all?

As suitably careful/paranoid scripters, we assume that the user has a
$PATH and that it contains other versions of basic commands which behave
differently in subtle ways which break stuff and which come before the
ones we expect.

The alternative is the either use a fixed $PATH (or keep prepending),
which runs the risk of not working on systems where things have been moved
to unusual places and removes the ability to globally redefine single
commands.

It's also a nice way to bundle specific invocations such as the
aforementioned mkdir -p.


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206155252.GG66258>