don't sweep in build_subdir is "."
CVS patchset: 386 CVS date: 1996/02/21 23:18:36
This commit is contained in:
parent
177488cb3b
commit
c3acfa7ab3
|
@ -149,12 +149,14 @@ static void doSweep(Spec s)
|
|||
{
|
||||
char buf[1024];
|
||||
|
||||
struct Script *script;
|
||||
script = openScript(s, 0, "sweep");
|
||||
sprintf(buf, "rm -rf %s\n", build_subdir);
|
||||
writeScript(script, buf);
|
||||
execScript(script);
|
||||
freeScript(script);
|
||||
if (strcmp(build_subdir, ".")) {
|
||||
struct Script *script;
|
||||
script = openScript(s, 0, "sweep");
|
||||
sprintf(buf, "rm -rf %s\n", build_subdir);
|
||||
writeScript(script, buf);
|
||||
execScript(script);
|
||||
freeScript(script);
|
||||
}
|
||||
}
|
||||
|
||||
static int doSetupMacro(Spec spec, StringBuf sb, char *line)
|
||||
|
|
Loading…
Reference in New Issue