aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miscutils/make.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/make.c b/miscutils/make.c
index 08b9d806e..d554a5f7f 100644
--- a/miscutils/make.c
+++ b/miscutils/make.c
@@ -2165,7 +2165,6 @@ docmds(struct name *np, struct cmd *cp)
2165 target = np; 2165 target = np;
2166 status = system(cmd); 2166 status = system(cmd);
2167 target = NULL; 2167 target = NULL;
2168 estat = MAKE_DIDSOMETHING;
2169 // If this command was being run to create an include file 2168 // If this command was being run to create an include file
2170 // or bring it up-to-date errors should be ignored and a 2169 // or bring it up-to-date errors should be ignored and a
2171 // failure status returned. 2170 // failure status returned.
@@ -2184,6 +2183,8 @@ docmds(struct name *np, struct cmd *cp)
2184 exit(status); 2183 exit(status);
2185 } 2184 }
2186 } 2185 }
2186 if (sdomake || dryrun || dotouch)
2187 estat = MAKE_DIDSOMETHING;
2187 free(command); 2188 free(command);
2188 } 2189 }
2189 makefile = NULL; 2190 makefile = NULL;