Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 10:08:19 +0200 (CEST)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Max Okumoto <okumoto@ucsd.edu>
Cc:        arch@freebsd.org
Subject:   Re: Handling of shell builtins in make(1)
Message-ID:  <20050524100205.W50725@beagle.kn.op.dlr.de>
In-Reply-To: <di8y25a4dz.fsf@oec-server2.ucsd.edu>
References:  <20050523153118.C28521@beagle.kn.op.dlr.de> <di8y25a4dz.fsf@oec-server2.ucsd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 May 2005, Max Okumoto wrote:

MO>4. Extend .SHELL: to allow specifing a list of built-in.  And then
MO>   we should define them in bsd.sys.mk or some other config file.

We would need to add yet another config file for this because make
doesn't read anything if given the -r flag. It would end up having
no shell which would be wrong.

MO>This will allow people to add keywords for their shells, and
MO>remove that stuff from the make source code.  Hard coding it
MO>in the binary is wrong.

The initial shell (/bin/sh) must be in the binary because it must run with
-r. I see no sense to add another config file just for the purpose
of specifying the shell. What would that give you that you cannot do now?

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524100205.W50725>