summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-17 23:09:55 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-17 23:09:55 +0000
commit9556c4a889e3144f938f703d53b70a948dee8018 (patch)
treeba6cd7fbe0f239f3607696a4b320be409c3e5af7 /IkiWiki/Plugin
parent480a49af4755ae42d409ed351f99219cee846638 (diff)
* Fix a bug in the aggregator introduced last version that caused all
aggregator state to be lost during a non-aggregating build.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/aggregate.pm6
1 files changed, 3 insertions, 3 deletions
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 (@) { #{{{