[Tools] winetest/build-errors: Fix updating the errors.html file.
Francois Gouget
fgouget at codeweavers.com
Wed Jun 7 03:53:17 CDT 2017
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>
---
winetest/build-errors | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/winetest/build-errors b/winetest/build-errors
index f9ac4aa6..2d25ae3f 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"},
--
2.11.0
More information about the wine-patches
mailing list