summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-14 23:00:29 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-14 23:00:29 -0400
commit2696e0c6db58b1d6e4c5988336846b0cbc6c36fa (patch)
treec15db69a45bde9b815e4c1481a63882fdf141450
parent76bda69a92075cbe73ba64232c69e32d7346b277 (diff)
fixes
-rw-r--r--IkiWiki/Plugin/aggregate.pm4
1 files 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);
}
}