only remove page from influences when influences are not static

This matches what add_depends done
master
Joey Hess 2010-04-22 13:17:45 -04:00
parent 1f5d1dff61
commit 8dc7f3005e
1 changed files with 1 additions and 1 deletions

View File

@ -2148,7 +2148,7 @@ sub pagespec_match_list ($$;@) {
my $r=$sub->($p, %params, location => $page);
error(sprintf(gettext("cannot match pages: %s"), $r))
if $r->isa("IkiWiki::ErrorReason");
unless ($r) {
unless ($r || $r->influences_static) {
$r->remove_influence($p);
}
$accum |= $r;