fix transition call
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 17:56:52 +0000 (13:56 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 17:56:52 +0000 (13:56 -0400)
IkiWiki.pm

index db16a085456e85ac2587085cce1b1346af8fbbd2..2fad45c384d6f0157131ab623889f0956532a614 100644 (file)
@@ -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 {