check oldrenderedfiles too

Handles the case where foo.mdwn is moved too foo/index.html
master
Joey Hess 2010-07-18 16:47:52 -04:00
parent d6cb4436bd
commit 2bf3a6edbb
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ sub will_render ($$;$) {
if (grep {
$_ eq $dest ||
dirname($_) eq $dest
} @{$renderedfiles{$p}}) {
} @{$renderedfiles{$p}}, @{$oldrenderedfiles{$p}}) {
$from_other_page=1;
last;
}