only remove page from influences when influences are not static
This matches what add_depends donemaster
parent
1f5d1dff61
commit
8dc7f3005e
|
@ -2148,7 +2148,7 @@ sub pagespec_match_list ($$;@) {
|
||||||
my $r=$sub->($p, %params, location => $page);
|
my $r=$sub->($p, %params, location => $page);
|
||||||
error(sprintf(gettext("cannot match pages: %s"), $r))
|
error(sprintf(gettext("cannot match pages: %s"), $r))
|
||||||
if $r->isa("IkiWiki::ErrorReason");
|
if $r->isa("IkiWiki::ErrorReason");
|
||||||
unless ($r) {
|
unless ($r || $r->influences_static) {
|
||||||
$r->remove_influence($p);
|
$r->remove_influence($p);
|
||||||
}
|
}
|
||||||
$accum |= $r;
|
$accum |= $r;
|
||||||
|
|
Loading…
Reference in New Issue