Commit 38e2340a authored by Sergei Golubchik's avatar Sergei Golubchik

mtr bug: files outside of both the suite dir and the overlay dir, were

treated as coming from the overlay.
parent a73972bf
...@@ -968,6 +968,8 @@ sub get_tags_from_file($$) { ...@@ -968,6 +968,8 @@ sub get_tags_from_file($$) {
} elsif ($over and $file =~ m@^$pdir/(.*)$@) { } elsif ($over and $file =~ m@^$pdir/(.*)$@) {
$suffix = $1; $suffix = $1;
@prefix = map { "$_/" } $sdir, $pdir; @prefix = map { "$_/" } $sdir, $pdir;
} else {
$over = 0; # file neither in $sdir nor in $pdir
} }
while (my $line= <$F>) while (my $line= <$F>)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment