Archived
1
0
This commit is contained in:
Mercier Pierre-Olivier 2013-11-23 20:11:53 +01:00
parent be336da8d6
commit 6e655751d4

View File

@ -352,13 +352,10 @@ sub compute ($$$;$$$)
if ($glob ne $ref)
{
my $value = 0;
for my $r (grep { match_glob($ref, $_); } keys %$ids)
{
log DEBUG, "$glob match $r (expanded from $ref)";
for my $r (grep { match_glob($ref, $_); } keys %$ids) {
$value += $ids->{ $r };
}
log DEBUG, "New $ref is now $value";
$ids->{ $ref } = $value;
$ids->{ $ref } = $value if ($value);
}
};
if ($@) {