Move away the old log file before starting the tinderbox so we don't

accidentally post the old log if the tinderbox script failed to start
altogether.
This commit is contained in:
des 2003-02-13 10:52:46 +00:00
parent 0fb179fc08
commit 293057394b

View File

@ -74,6 +74,7 @@ sub tinderbox($$$$) {
push(@args, @TARGETS);
print(STDERR join(' ', @args), "\n");
rename($logfile, "$logfile.old");
if (system(@args) != 0) {
my $messages = "";
my @accumulate;