mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-28 15:58:07 +00:00
(start_job_command): Use `message' to print the command, and call it with
an empty string if the command is silent.
This commit is contained in:
parent
21fbad8602
commit
10d6808977
1 changed files with 14 additions and 12 deletions
8
job.c
8
job.c
|
@ -592,10 +592,12 @@ start_job_command (child)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print out the command. */
|
/* Print out the command. If silent, we call `message' with an empty
|
||||||
|
string so it can log the working directory before the command's own
|
||||||
|
error messages appear. */
|
||||||
|
|
||||||
if (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
|
message ((just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
|
||||||
puts (p);
|
? "" : "%s\n", p);
|
||||||
|
|
||||||
/* Tell update_goal_chain that a command has been started on behalf of
|
/* Tell update_goal_chain that a command has been started on behalf of
|
||||||
this target. It is important that this happens here and not in
|
this target. It is important that this happens here and not in
|
||||||
|
|
Loading…
Reference in a new issue