]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/listdirectives.pm
I'm not redefining any subs after all, don't prevent those warnings.
[git.ikiwiki.info.git] / IkiWiki / Plugin / listdirectives.pm
index d2cebca342756fdbb8d9a31e34b43fe527bd4b4d..bd73f1a04e728638c19994c0d64a4f288a120150 100644 (file)
@@ -45,7 +45,7 @@ sub checkconfig () {
 sub needsbuild (@) {
        my $needsbuild=shift;
 
-       @fulllist = sort keys %{$IkiWiki::hooks{preprocess}};
+       @fulllist = grep { ! /^_/ } sort keys %{$IkiWiki::hooks{preprocess}};
        @shortlist = grep { ! $IkiWiki::hooks{preprocess}{$_}{shortcut} } @fulllist;
        $pluginstring = join(' ', @shortlist) . " : " . join(' ', @fulllist);