mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
bug 201520, r=dmose, cyeh. Use the modified regexp string instead of the
flat pattern string when comparing file entries in pre-existing partitions.
This commit is contained in:
parent
5a583997a5
commit
62738efed6
@ -1003,7 +1003,7 @@ sub FileMatches {
|
||||
} elsif ($pattern =~ /\*$/) {
|
||||
$regexp =~ s:\*$:.*:;
|
||||
}
|
||||
if ($name =~ /$pattern/) {
|
||||
if ($name =~ /$regexp/) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user