]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/calendar.pm
Don't use --noprefix for the patch
[git.ikiwiki.info.git] / IkiWiki / Plugin / calendar.pm
index c03b89667c39bb67feb94116c92892f1cab0d21c..45617afe82d9af5b8ce8c4632df02e8a6c827580 100644 (file)
@@ -141,7 +141,9 @@ sub autocreate {
        $template->param(month => $month) if defined $month;
        $template->param(pagespec => $config{archive_pagespec});
 
+       no warnings 'once';
        my $dir = $IkiWiki::Plugin::transient::transientdir;
+       use warnings;
 
        writefile($pagefile, $dir, $template->output);
 }