summaryrefslogtreecommitdiff
path: root/contrib/buildsystems/Generators.pm
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/buildsystems/Generators.pm')
-rw-r--r--contrib/buildsystems/Generators.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/buildsystems/Generators.pm b/contrib/buildsystems/Generators.pm
index 408ef71..aa4cbaa 100644
--- a/contrib/buildsystems/Generators.pm
+++ b/contrib/buildsystems/Generators.pm
@@ -17,7 +17,7 @@ BEGIN {
$me = dirname($me);
if (opendir(D,"$me/Generators")) {
foreach my $gen (readdir(D)) {
- next if ($gen =~ /^\.\.?$/);
+ next unless ($gen =~ /\.pm$/);
require "${me}/Generators/$gen";
$gen =~ s,\.pm,,;
push(@AVAILABLE, $gen);