Subject: Re: advanced shell parameter expansion with %% or ##
To: None <>
From: Alan Barrett <>
List: pkgsrc-users
Date: 05/09/2007 18:22:58
On Wed, 02 May 2007, Ulrich Habel wrote:
> > Solaris /bin/sh is not supported PERIOD
> true...there are at least some problems with Solaris sh. However most of
> the time we just use "sh" for the shell which causes the Solaris user to
> fix all the "sh" manually. Wouldn't it be good to test the OS
> environment in the bootstrap of pkgsrc?

In the NetBSD base system build, we take great care to use ${HOST_SH}
(or another variable that's set from ${HOST_SH} by default) instead of
/bin/sh or just "sh".  It would probably make sense for pkgsrc to do the

--apb (Alan Barrett)