[PATCH] testbot/build: Remove support for the old Build.pl parameters.

Francois Gouget fgouget at codeweavers.com
Tue Jul 10 03:33:46 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/build/Build.pl | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/testbot/bin/build/Build.pl b/testbot/bin/build/Build.pl
index 1a69669a2..da145837b 100755
--- a/testbot/bin/build/Build.pl
+++ b/testbot/bin/build/Build.pl
@@ -193,19 +193,10 @@ my %AllTargets;
 map { $AllTargets{$_} = 1 } qw(exe32 exe64);
 
 my ($Usage, $PatchFile, $TargetList);
-my $IgnoreNext = 0; # FIXME Backward compatibility
 while (@ARGV)
 {
   my $Arg = shift @ARGV;
-  if ($Arg =~ /^patch(?:dlls|programs)$/)
-  {
-    $IgnoreNext ||= 1; # Ignore this legacy parameter
-  }
-  elsif ($IgnoreNext == 1)
-  {
-    $IgnoreNext = 2; # Ignore this legacy parameter
-  }
-  elsif ($Arg =~ /^(?:-\?|-h|--help)$/)
+  if ($Arg =~ /^(?:-\?|-h|--help)$/)
   {
     $Usage = 0;
     last;
-- 
2.18.0



More information about the wine-devel mailing list