Change the algorithm that matches the builtin shells from the name keyword
authorMax Okumoto <okumoto@dragonflybsd.org>
Thu, 16 Dec 2004 21:28:28 +0000 (21:28 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Thu, 16 Dec 2004 21:28:28 +0000 (21:28 +0000)
commita4063c43b43c6e712f7e75586440adbee08868a7
tree5fdab8af60222f753270b03b6eff9af2397da401
parent3c6df61ded76207d50ae5d537d88aff72cb40e3e
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.

Taken-from: FreeBSD
Author: harti
usr.bin/make/job.c
usr.bin/make/make.1