summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-21 13:56:52 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-21 13:56:52 -0400
commite3866fd94f31a656dddd78dd3f8750628264e9d3 (patch)
treec64d4d57baec5dbdb247ba235e54e8c90b66d0ee
parentf9aa09e2f6e35c7466aca374dc0a1299ca9cf283 (diff)
fix transition call
-rw-r--r--IkiWiki.pm2
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 {