[tools] testbot/build: ARCH_STRING has been renamed to GECKO_ARCH.

Francois Gouget fgouget at codeweavers.com
Fri Jan 15 09:14:41 CST 2021


This matches the MONO_ARCH property.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/Build/Utils.pm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/testbot/lib/Build/Utils.pm b/testbot/lib/Build/Utils.pm
index aa786183b5..a56a4f2a49 100644
--- a/testbot/lib/Build/Utils.pm
+++ b/testbot/lib/Build/Utils.pm
@@ -490,11 +490,7 @@ sub UpdateAddOns()
     my $Arch = "";
     while (my $Line= <$fh>)
     {
-      if ($Line =~ /^\s*#\s*define\s+ARCH_STRING\s+"([^"]+)"/)
-      {
-        $Arch = $1;
-      }
-      elsif ($Line =~ /^\s*#\s*define\s+(?:GECKO|MONO)_ARCH\s+"([^"]+)"/)
+      if ($Line =~ /^\s*#\s*define\s+(?:GECKO|MONO)_ARCH\s+"([^"]+)"/)
       {
         $Arch = $1;
       }
-- 
2.20.1



More information about the wine-devel mailing list