Module: tools Branch: master Commit: def79fd13a535c9d9d02b3b9c57d71f4da2b9889 URL: https://source.winehq.org/git/tools.git/?a=commit;h=def79fd13a535c9d9d02b3b9...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Jul 10 10:33:46 2018 +0200
testbot/build: Remove support for the old Build.pl parameters.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 1a69669..da14583 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;