forked from len0rd/rockbox
Fix the target pattern matching in genlang. Not sure if it is the 'right' fix, but it unbreaks the e200 build for me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18903 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
74b935c893
commit
afd2f681d1
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ sub trim {
|
||||||
sub match {
|
sub match {
|
||||||
my ($string, $pattern)=@_;
|
my ($string, $pattern)=@_;
|
||||||
|
|
||||||
$pattern =~ s/\*/.?*/g;
|
$pattern =~ s/\*/.*/g;
|
||||||
$pattern =~ s/\?/./g;
|
$pattern =~ s/\?/./g;
|
||||||
|
|
||||||
return ($string =~ /^$pattern\z/);
|
return ($string =~ /^$pattern\z/);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue