summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-29 13:46:37 +0000
committerSadie Powell <sadie@witchery.services>2021-01-29 13:46:37 +0000
commit2fceea41e8eefe0e109d7b7de445589bfd2a49ef (patch)
treef1f36f2d8c1440b17b9f600fcd17b2b9fe12b50c /make/calcdep.pl
parent3e557e85d3ae1ef6d09ed2fdda379d8833a4400d (diff)
Always use for in Perl modules.
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index 3c02024fa..ca6b2628c 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -90,7 +90,7 @@ END
push @core_deps, $out;
}
- foreach my $directory (qw(coremods modules)) {
+ for my $directory (qw(coremods modules)) {
opendir(my $moddir, $directory);
for my $file (sort readdir $moddir) {
next if $file =~ /^\./;