From 2696e0c6db58b1d6e4c5988336846b0cbc6c36fa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Jul 2008 23:00:29 -0400 Subject: [PATCH] fixes --- IkiWiki/Plugin/aggregate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 301fe40f6..e000bc864 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -157,9 +157,9 @@ sub migrate_to_internal { #{{{ debug("$oldname not found"); } if (-e $oldoutput) { - use IkiWiki::Render; + require IkiWiki::Render; debug("removing output file $oldoutput"); - IkiWIki::prune($oldoutput) || error ("$!"); + IkiWiki::prune($oldoutput); } } -- 2.45.0