Skip to content

Commit 0948ac7

Browse files
committed
revert naming change for log files
Commit 61ace80 changed to only add the .log suffix if the name didn't contain a dot. I'm not at all sure why that was done, and it seems completely wrong, since the tar command only picks up .log files. SO make sure there is a .log suffix on every log file written. Per report from Tomas Vondra.
1 parent ca68525 commit 0948ac7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

run_build.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,7 @@ sub cleanlogs
904904
sub writelog
905905
{
906906
my $stage = shift;
907-
my $fname = $stage;
908-
$fname = "$fname.log" unless $fname =~ /\./;
907+
my $fname = "$stage.log";
909908
my $loglines = shift;
910909
my $handle;
911910
my $lrname = $st_prefix . $logdirname;

0 commit comments

Comments
 (0)