diff options
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index db16a0854..2fad45c38 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -902,7 +902,7 @@ sub loadindex () { #{{{ my $in; if (! open ($in, "<", "$config{wikistatedir}/indexdb")) { if (-e "$config{wikistatedir}/index") { - system("ikiwiki-transition", "indexdb", $config{wikistatedir}); + system("ikiwiki-transition", "indexdb", $config{srcdir}); open ($in, "<", "$config{wikistatedir}/indexdb") || return; } else { |