aboutsummaryrefslogtreecommitdiffstats
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-01-29 13:46:37 +0000
committerGravatar Sadie Powell2021-01-29 13:46:37 +0000
commit2fceea41e8eefe0e109d7b7de445589bfd2a49ef (patch)
treef1f36f2d8c1440b17b9f600fcd17b2b9fe12b50c /make/calcdep.pl
parentPurge all remaining uses of print_format. (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 =~ /^\./;