Francois Gouget : winetest/build-errors: Fix updating the errors.html file.
Alexandre Julliard
julliard at winehq.org
Wed Jun 7 12:12:30 CDT 2017
Module: tools
Branch: master
Commit: c42fe965c4cc18f562c51c24adc43fbd60e8eefc
URL: http://source.winehq.org/git/tools.git/?a=commit;h=c42fe965c4cc18f562c51c24adc43fbd60e8eefc
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Jun 7 10:53:17 2017 +0200
winetest/build-errors: Fix updating the errors.html file.
build-errors expects the $filename variable to be set so it can use it
to move the new file into place.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/build-errors | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/winetest/build-errors b/winetest/build-errors
index f9ac4aa..2d25ae3 100755
--- a/winetest/build-errors
+++ b/winetest/build-errors
@@ -80,7 +80,8 @@ foreach my $dir (readdir DIR)
}
closedir DIR;
-open OUT, ">data/errors.html.new" or die "cannot create 'data/errors.html.new'";
+my $filename = "data/errors.html";
+open OUT, ">$filename.new" or die "cannot create 'data/$filename.new'";
print OUT start_html( -title => "Errors caught during Wine test report processing",
-style => {src => "/summary.css"},
More information about the wine-cvs
mailing list