diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2011-09-12 15:19:57 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2011-09-12 15:19:57 +0000 |
commit | 8a0db7bf3476b37eebacf26816b21d7c03074fd1 (patch) | |
tree | 2bb59525f69e12f3c95b6b8341e48bc892862a79 | |
parent | f93530c4badf0811110baaee1e196a67f0e98eb8 (diff) | |
download | rockbox-8a0db7bf3476b37eebacf26816b21d7c03074fd1.tar.gz rockbox-8a0db7bf3476b37eebacf26816b21d7c03074fd1.zip |
Fix FS#12272 - genlang changes broke some targets
New genlang code forgot to allow for the wildcard being the full target name
with a * appended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30514 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 33adb2c7e3..6139bd1810 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -130,7 +130,7 @@ if(!$target && !$update && !$sortfile) { | |||
130 | # state machine, so we don't bother to check. | 130 | # state machine, so we don't bother to check. |
131 | my $target_regex = "(?:^|,) *(?:\\*"; | 131 | my $target_regex = "(?:^|,) *(?:\\*"; |
132 | foreach my $target_part (split ':', $target) { | 132 | foreach my $target_part (split ':', $target) { |
133 | for (my $c=1; $c<length $target_part; $c++) { | 133 | for (my $c=1; $c<=length $target_part; $c++) { |
134 | my $partial = substr $target_part, 0, $c; | 134 | my $partial = substr $target_part, 0, $c; |
135 | $target_regex .= "|$partial\\*"; | 135 | $target_regex .= "|$partial\\*"; |
136 | } | 136 | } |