Francois Gouget : testbot/build: Don't duplicate the addon.c filename.
Alexandre Julliard
julliard at winehq.org
Thu Apr 23 14:40:09 CDT 2020
Module: tools
Branch: master
Commit: 696f3d92dbfb29fd140413ae29145dc879c59b13
URL: https://source.winehq.org/git/tools.git/?a=commit;h=696f3d92dbfb29fd140413ae29145dc879c59b13
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Apr 23 15:04:02 2020 +0200
testbot/build: Don't duplicate the addon.c filename.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/Build/Utils.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/Build/Utils.pm b/testbot/lib/Build/Utils.pm
index 8c26327..7d0739e 100644
--- a/testbot/lib/Build/Utils.pm
+++ b/testbot/lib/Build/Utils.pm
@@ -416,7 +416,8 @@ sub _UpdateAddOn($$$)
sub UpdateAddOns()
{
my %AddOns;
- if (open(my $fh, "<", "$DataDir/wine/dlls/appwiz.cpl/addons.c"))
+ my $AddonSrc = "wine/dlls/appwiz.cpl/addons.c";
+ if (open(my $fh, "<", "$DataDir/$AddonSrc"))
{
my $Arch = "";
while (my $Line= <$fh>)
@@ -448,7 +449,7 @@ sub UpdateAddOns()
}
else
{
- LogMsg "Could not open 'wine/dlls/appwiz.cpl/addons.c': $!\n";
+ LogMsg "Could not open '$AddonSrc': $!\n";
return 0;
}
More information about the wine-cvs
mailing list