pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: advanced shell parameter expansion with %% or ##



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
same.

--apb (Alan Barrett)



Home | Main Index | Thread Index | Old Index