HEADS UP: Latest round of bsd.*.mk changes

Andrew J Caines A.J.Caines at halplant.com
Fri Feb 6 07:53:17 PST 2004


David O'Brien <obrien at 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 at halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |


More information about the freebsd-ports mailing list