summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfake_packages/gen.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/fake_packages/gen.pl b/fake_packages/gen.pl
index 37b2ef8..029d130 100755
--- a/fake_packages/gen.pl
+++ b/fake_packages/gen.pl
@@ -24,6 +24,8 @@ sub get_paras {
} else {
my ($optional) = s/=(.*)//;
my $s = /.*\W(\w+)/ ? $1 : $_;
+ # so that perl_checker doesn't complain about fake packages themselves:
+ # (also tag as optionnal)
'$_' . ($optional ? 'o_' : '') . $s;
}
} grep { !/OUTLIST/ } split(',', $para) ];