skip old format index file lines for now
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 21:55:36 +0000 (21:55 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 21:55:36 +0000 (21:55 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index 87414ab5b8e03ea479d34f2830f60e94b2c376b4..bd905a42688e65eaf5ecd3c91c58cea0bb63bb89 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -324,6 +324,8 @@ sub loadindex () { #{{{
                        push @{$items{$item}}, $val;
                }
 
+               next unless exists $items{src}; # skip bad lines for now
+
                my $page=pagename($items{src}[0]);
                if (! $config{rebuild}) {
                        $pagesources{$page}=$items{src}[0];