diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-22 13:17:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-22 13:17:45 -0400 |
commit | 8dc7f3005ebf36d5b126867e7ca0440d495d8ee3 (patch) | |
tree | bf7b61297853e4aac25a168b459c7eadc819d692 | |
parent | 1f5d1dff615b8741a2104dad1d42c13b5b4f6d02 (diff) | |
download | ikiwiki-8dc7f3005ebf36d5b126867e7ca0440d495d8ee3.tar ikiwiki-8dc7f3005ebf36d5b126867e7ca0440d495d8ee3.tar.gz |
only remove page from influences when influences are not static
This matches what add_depends done
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 19ed69d75..ec8b32a63 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -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; |