Make sure to use a unique filename for the logfile.
Bug #360727 r=bear git-svn-id: svn://10.0.0.236/trunk@218218 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e17a3ad33f
commit
1298eda55a
@ -96,6 +96,8 @@ exit(0);
|
||||
sub process_mailfile($) {
|
||||
my ($mail_file) = @_;
|
||||
my $err = 0;
|
||||
my $logfile_base = basename($mail_file);
|
||||
$logfile_base =~ s/^tbx\.//;
|
||||
|
||||
print "process_mailfile($mail_file)\n" if ($debug);
|
||||
|
||||
@ -140,7 +142,7 @@ sub process_mailfile($) {
|
||||
# Write data to "build.dat"
|
||||
#
|
||||
print "Write build.dat: $tinderbox{build}\n" if ($debug);
|
||||
$tinderbox{logfile} = "$tinderbox{builddate}.$$.gz";
|
||||
$tinderbox{logfile} = "$tinderbox{builddate}.$logfile_base.gz";
|
||||
write_build_data(\%tinderbox);
|
||||
|
||||
# Add tree to changed trees list to later rebuild who.dat
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user