Subject: Re: CVS commit: basesrc
To: Ben Harris <bjh21@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 09/13/2002 14:57:39
On Fri, Sep 13, 2002 at 10:29:56PM +0100, Ben Harris wrote:

 > >Use /bin/test explicitly in one place, rather than [ or test (which
 > >might be a shell built-in).  This allows this script to work otherwise
 > >unchanged with Solaris 8's /bin/sh.
 > 
 > Ugh.  What's wrong with using Solaris's POSIX environment (by setting PATH
 > to `getconf PATH`)?  Hard-coding /bin/test breaks systems which don't have
 > one (e.g. Debian GNU/Linux).

Feh.  Okay.

The problem with using this is that make(1) (because make(1) uses /bin/sh
directly) then uses a shell with different PWD semantics as all the scripts.

Big lossage then ensues with symlinks and NFS.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>