Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2000 23:42:47 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Bruce Evans <bde@zeta.org.au>, Marcel Moolenaar <marcel@cup.hp.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/make Makefile config.h job.c main.c
Message-ID:  <Pine.BSF.4.21.0008192335330.95612-100000@green.dyndns.org>
In-Reply-To: <20000820023718.A4512@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Aug 2000, Andrey A. Chernov wrote:

> On Sun, Aug 20, 2000 at 07:55:20AM +1000, Bruce Evans wrote:
> > They seem to be remarkably broken.  A POSIX.2 draft specifies that make
> > shall support the SHELL variable, but our make doesn't.  (SHELL has the
> 
> > I'm not sure if .SHELL has any advantages over SHELL.  Anyway, SHELL should
> > be fixed first since it is standard.  The fix may be as simple as setting
> 
> Thanks, Bruce, it is what I try to say from the very beginning of this
> thread.

So we should make pmake support ${SHELL}?  This would allow me to
change it on all compiles easily, but it would break things all over
the place because things set SHELL without expecting make(1) to be
using that shell.  The only functionality I really need is the ability
to override the default shell value.  Even the variable ${SHELL} does
not provide that.

It's not like MAKE_SHELL isn't a noop by default other than adding
"ksh" to the array of supported shells.

Now, if someone were to propose a way to automatically set the default
shell for make(1) on a system-wide basis other than what is here, I'd
like to know; the closest I can think of is supporting the ${SHELL}
variable and doing alias make='make SHELL=foo', but that _WILL_ break
tons of installations where when you log in, SHELL gets set.  I can't
see how SHELL could possibly be a solution here because of that :(

> -- 
> Andrey A. Chernov
> <ache@nagual.pp.ru>
> http://ache.pp.ru/

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008192335330.95612-100000>