summaryrefslogtreecommitdiff
path: root/lib/strict.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strict.t')
-rw-r--r--lib/strict.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strict.t b/lib/strict.t
index 02f191b9c5..80076fc67d 100644
--- a/lib/strict.t
+++ b/lib/strict.t
@@ -20,7 +20,7 @@ my @prgs = () ;
foreach (sort glob($^O eq 'MacOS' ? ":lib:strict:*" : "lib/strict/*")) {
- next if /(~|\.orig|,v)$/;
+ next if -d || /(~|\.orig|,v)$/;
open F, "<$_" or die "Cannot open $_: $!\n" ;
while (<F>) {