From 99c688ba215aeee10a65b998a6f15e984e100ff8 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Fri, 6 Mar 2020 11:13:57 +0100 Subject: [PATCH] perl: align order and completeness of Windows OS checks --- lib/checksrc.pl | 2 +- tests/testcurl.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/checksrc.pl b/lib/checksrc.pl index 8343645610..e1bb1a6339 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -36,7 +36,7 @@ my $file; my $dir="."; my $wlist=""; my @alist; -my $windows_os = $^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin'; +my $windows_os = $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys'; my $verbose; my %whitelist; diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 69722fb360..fce53571ad 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -173,7 +173,7 @@ if ($^O eq 'MSWin32' || $targetos) { } } -if (($^O eq 'MSWin32' || $^O eq 'msys') && +if (($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys') && ($targetos =~ /vc/ || $targetos =~ /mingw32/ || $targetos =~ /borland/ || $targetos =~ /watcom/)) {