diff options
author | harti <harti@FreeBSD.org> | 2005-05-24 09:14:46 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-24 09:14:46 +0000 |
commit | 37b9e8f42f9e0fc810925827e20ad144c7b88871 (patch) | |
tree | b703a63fab4a1142e2d14e45259737c6236b2bd7 /usr.bin/make/job.h | |
parent | a2e5c5c0f415c2965a0e3e4cde46953caf61319e (diff) | |
download | FreeBSD-src-37b9e8f42f9e0fc810925827e20ad144c7b88871.zip FreeBSD-src-37b9e8f42f9e0fc810925827e20ad144c7b88871.tar.gz |
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.
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r-- | usr.bin/make/job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 45518de..d479211 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -71,6 +71,8 @@ void Job_AbortAll(void); void Proc_Init(void); +void Shell_Init(void); + struct Buffer *Cmd_Exec(const char *, const char **); void Compat_Run(struct Lst *); |