mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
Formerly job.c.~81~
This commit is contained in:
parent
db7633eac4
commit
2ebdf6de85
1 changed files with 11 additions and 2 deletions
13
job.c
13
job.c
|
@ -465,9 +465,9 @@ start_job_command (child)
|
|||
/* There may be some preceding whitespace left if there
|
||||
was nothing but a backslash on the first line. */
|
||||
p = next_token (p);
|
||||
|
||||
|
||||
/* Figure out an argument list from this command line. */
|
||||
|
||||
|
||||
{
|
||||
char *end;
|
||||
argv = construct_command_argv (p, &end, child->file);
|
||||
|
@ -480,6 +480,15 @@ start_job_command (child)
|
|||
}
|
||||
}
|
||||
|
||||
if (touch_flag && !recursive)
|
||||
{
|
||||
/* Go on to the next command. It might be the recursive one.
|
||||
We construct ARGV only to find the end of the command line. */
|
||||
free (argv[0]);
|
||||
free ((char *) argv);
|
||||
argv = 0;
|
||||
}
|
||||
|
||||
if (argv == 0)
|
||||
{
|
||||
/* This line has no commands. Go to the next. */
|
||||
|
|
Loading…
Reference in a new issue