set dependency hash value properly for new dependency types

Just "1" won't cut it anymore; we need to list all the dependency types.
master
Joey Hess 2009-10-03 15:37:15 -04:00
parent dc4e44adf1
commit 5c9f65a672
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ sub oldloadindex {
$pagemtime{$page}=$items{mtime}[0];
$oldlinks{$page}=[@{$items{link}}];
$links{$page}=[@{$items{link}}];
$depends{$page}={ $items{depends}[0] => 1 } if exists $items{depends};
$depends{$page}={ $items{depends}[0] => $IkiWiki::DEPEND_CONTENT | $IkiWiki::DEPEND_EXISTS } if exists $items{depends};
$destsources{$_}=$page foreach @{$items{dest}};
$renderedfiles{$page}=[@{$items{dest}}];
$pagecase{lc $page}=$page;