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

treated as coming from the overlay.
This commit is contained in:
Sergei Golubchik 2013-08-26 21:14:01 +04:00
parent a73972bfea
commit 38e2340a8e

View File

@ -968,6 +968,8 @@ sub get_tags_from_file($$) {
} elsif ($over and $file =~ m@^$pdir/(.*)$@) {
$suffix = $1;
@prefix = map { "$_/" } $sdir, $pdir;
} else {
$over = 0; # file neither in $sdir nor in $pdir
}
while (my $line= <$F>)