summaryrefslogtreecommitdiff
path: root/config/check_modules.pl
diff options
context:
space:
mode:
Diffstat (limited to 'config/check_modules.pl')
-rw-r--r--config/check_modules.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/check_modules.pl b/config/check_modules.pl
index 470c3e9c144..611f3a673fd 100644
--- a/config/check_modules.pl
+++ b/config/check_modules.pl
@@ -21,8 +21,7 @@ diag("Test::More::VERSION: $Test::More::VERSION");
diag("Time::HiRes::VERSION: $Time::HiRes::VERSION");
# Check that if prove is using msys perl it is for an msys target
-ok(($ENV{__CONFIG_HOST_OS__} || "") eq 'msys',
- "Msys perl used for correct target")
- if $Config{osname} eq 'msys';
+ok( ($ENV{__CONFIG_HOST_OS__} || "") eq 'msys',
+ "Msys perl used for correct target") if $Config{osname} eq 'msys';
ok(1);
done_testing();