diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2005-05-09 14:06:04 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-05-09 14:06:04 +0000 |
| commit | 02c3270da10a3bd74ce8d7094f850633f9c93b6c (patch) | |
| tree | 5aba5fcd4ee95bf72b4b360ea351bf814500ce84 /usr.bin/make/job.c | |
| parent | 18d92cd86c87f38d7156912eb4949df45c0f580a (diff) | |
Notes
Diffstat (limited to 'usr.bin/make/job.c')
| -rw-r--r-- | usr.bin/make/job.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 07ac2b477432..ba2af7857285 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -609,7 +609,7 @@ JobPrintCommand(char *cmd, Job *job) */ cmdNode = Lst_Member(&job->node->commands, cmd); - cmd = Buf_Peel(Var_Subst(NULL, cmd, job->node, FALSE)); + cmd = Buf_Peel(Var_Subst(cmd, job->node, FALSE)); cmdStart = cmd; Lst_Replace(cmdNode, cmdStart); @@ -972,8 +972,8 @@ JobFinish(Job *job, int *status) */ for (ln = job->tailCmds; ln != NULL; ln = LST_NEXT(ln)) { Lst_AtEnd(&postCommands->commands, - Buf_Peel(Var_Subst(NULL, Lst_Datum(ln), - job->node, FALSE))); + Buf_Peel( + Var_Subst(Lst_Datum(ln), job->node, FALSE))); } job->node->made = MADE; @@ -1655,8 +1655,8 @@ JobStart(GNode *gn, int flags, Job *previous) for (ln = job->tailCmds; ln != NULL; ln = LST_NEXT(ln)) { Lst_AtEnd(&postCommands->commands, - Buf_Peel(Var_Subst(NULL, - Lst_Datum(ln), job->node, FALSE))); + Buf_Peel(Var_Subst(Lst_Datum(ln), + job->node, FALSE))); } job->node->made = MADE; Make_Update(job->node); |
