summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-24 09:14:46 +0000
committerharti <harti@FreeBSD.org>2005-05-24 09:14:46 +0000
commit37b9e8f42f9e0fc810925827e20ad144c7b88871 (patch)
treeb703a63fab4a1142e2d14e45259737c6236b2bd7 /usr.bin/make/job.h
parenta2e5c5c0f415c2965a0e3e4cde46953caf61319e (diff)
downloadFreeBSD-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.h2
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 *);
OpenPOWER on IntegriCloud