diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-17 23:09:55 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-17 23:09:55 +0000 |
commit | 9556c4a889e3144f938f703d53b70a948dee8018 (patch) | |
tree | ba6cd7fbe0f239f3607696a4b320be409c3e5af7 /IkiWiki | |
parent | 480a49af4755ae42d409ed351f99219cee846638 (diff) | |
download | ikiwiki-9556c4a889e3144f938f703d53b70a948dee8018.tar ikiwiki-9556c4a889e3144f938f703d53b70a948dee8018.tar.gz |
* 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')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 6 |
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 (@) { #{{{ |