diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2008-10-28 19:40:53 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2008-10-28 19:40:53 +0000 |
commit | afd2f681d18e574442f8569f1a722d5d39d79b78 (patch) | |
tree | 0be716409a63b02ee220be33b3e24436f21eb264 | |
parent | 74b935c893cbf7f76002e91a053b0948cde15f3d (diff) | |
download | rockbox-afd2f681d18e574442f8569f1a722d5d39d79b78.tar.gz rockbox-afd2f681d18e574442f8569f1a722d5d39d79b78.zip |
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
-rwxr-xr-x | tools/genlang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang index d99e3f0442..6348f6e1ad 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -139,7 +139,7 @@ sub trim { | |||
139 | sub match { | 139 | sub match { |
140 | my ($string, $pattern)=@_; | 140 | my ($string, $pattern)=@_; |
141 | 141 | ||
142 | $pattern =~ s/\*/.?*/g; | 142 | $pattern =~ s/\*/.*/g; |
143 | $pattern =~ s/\?/./g; | 143 | $pattern =~ s/\?/./g; |
144 | 144 | ||
145 | return ($string =~ /^$pattern\z/); | 145 | return ($string =~ /^$pattern\z/); |