From 9556c4a889e3144f938f703d53b70a948dee8018 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 17 Aug 2006 23:09:55 +0000 Subject: * Fix a bug in the aggregator introduced last version that caused all aggregator state to be lost during a non-aggregating build. --- IkiWiki/Plugin/aggregate.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 6c9958df8..33d7174f5 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -35,14 +35,14 @@ sub getopt () { #{{{ } #}}} sub checkconfig () { #{{{ + IkiWiki::lockwiki(); + loadstate(); if ($IkiWiki::config{aggregate}) { - IkiWiki::lockwiki(); - loadstate(); IkiWiki::loadindex(); aggregate(); savestate(); - IkiWiki::unlockwiki(); } + IkiWiki::unlockwiki(); } #}}} sub filter (@) { #{{{ -- cgit v1.2.3