summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-14 23:02:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-14 23:02:36 +0000
commit5b5162547cc1e33abc27a5d815d17f8262250a41 (patch)
treed3361af5cdfd3ac416fc06867ec973dfccaf82b8 /tools
parent97f2146d9652e2309f84944488275f563c4cf4fe (diff)
downloadrockbox-5b5162547cc1e33abc27a5d815d17f8262250a41.tar.gz
rockbox-5b5162547cc1e33abc27a5d815d17f8262250a41.tar.bz2
rockbox-5b5162547cc1e33abc27a5d815d17f8262250a41.zip
match target names more explicitly so that h10 won't match h100 etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12769 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang
index be7d791afe..354f8217d2 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -7,7 +7,7 @@
# \/ \/ \/ \/ \/
# $Id$
#
-# Copyright (C) 2006 by Daniel Stenberg
+# Copyright (C) 2006 - 2007 by Daniel Stenberg
#
# binary version for the binary lang file
@@ -118,7 +118,7 @@ sub match {
$pattern =~ s/\*/.?*/g;
$pattern =~ s/\?/./g;
- return ($string =~ $pattern);
+ return ($string =~ /^$pattern\z/);
}
sub blank {