aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-22 13:17:45 -0400
committerJoey Hess <joey@kitenet.net>2010-04-22 13:17:45 -0400
commit8dc7f3005ebf36d5b126867e7ca0440d495d8ee3 (patch)
treebf7b61297853e4aac25a168b459c7eadc819d692 /IkiWiki.pm
parent1f5d1dff615b8741a2104dad1d42c13b5b4f6d02 (diff)
downloadikiwiki-8dc7f3005ebf36d5b126867e7ca0440d495d8ee3.tar
ikiwiki-8dc7f3005ebf36d5b126867e7ca0440d495d8ee3.tar.gz
only remove page from influences when influences are not static
This matches what add_depends done
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
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;