cvs commit: src/usr.bin/make job.c job.h main.c
Hartmut Brandt
harti at FreeBSD.org
Tue May 24 02:14:47 PDT 2005
harti 2005-05-24 09:14:46 UTC
FreeBSD src repository
Modified files:
usr.bin/make job.c job.h main.c
Log:
Before doing any parsing parse the builtin shell specifications and
set the current shell to DEFSHELL. Put all these specifications into
a list. Add user specified new shells to this list. If the user
just selects one of the already know shells just pick the right one
off the list. This let's one do something like:
# Full specification of the user's shell. This also selects the shell.
.SHELL: name=myshell path=/somewhere/foo echo=loud ...
FOO != bar # use myshell here
.SHELL: name=sh
BAR != baz # use /bin/sh here
.SHELL: name=myshell # no need for full spec here.
# continue to use the user's special shell.
Revision Changes Path
1.116 +195 -178 src/usr.bin/make/job.c
1.44 +2 -0 src/usr.bin/make/job.h
1.152 +7 -0 src/usr.bin/make/main.c
More information about the cvs-all
mailing list