]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the algorithm that matches the builtin shells from the name keyword
authorharti <harti@FreeBSD.org>
Fri, 3 Dec 2004 08:02:52 +0000 (08:02 +0000)
committerharti <harti@FreeBSD.org>
Fri, 3 Dec 2004 08:02:52 +0000 (08:02 +0000)
commit8345f29bee6dc779223d4805edfc48e7c533b3a7
tree63b142f01f2d5f505ceba8bd530e19b232e5cfd0
parentbeb94b5a212e644c63b1ec1d98f756d1abf4754e
Change the algorithm that matches the builtin shells from the name keyword
of the .SHELL target. Formerly it used to select the shell with the
longest common trailing substring, so that bash would select sh, but pocsh
would select csh. Now an exact match is required so that specifying bash
without also giving a path and the other keywords will give an error.

PR:
Submitted by:
Reviewed by: ru
Approved by:
Obtained from:
MFC after:
usr.bin/make/job.c