summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-07-24 18:49:33 +0000
committerNils Wallménius <nils@rockbox.org>2007-07-24 18:49:33 +0000
commit90ccc336b4d0614b9eb01fe299d8ddc87afe585f (patch)
tree34e12df7d7117d4fc32facd22cc797dbb8b5e66f /tools
parent4382ac84ac7bc622fbfd28599433454c7d4cecc8 (diff)
Make genlang output correct .lng files when the 'none' keyword is used but is not all lowercase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13971 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang
index 965c187f81..f2a0706930 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -232,7 +232,7 @@ if($english) {
print STDERR "DEST: \"$dest\" for $name / $id\n";
- if($update || ($dest && ($dest ne "none"))) {
+ if($update || ($dest && ($dest !~ /^none\z/i))) {
# we unconditionally always use all IDs when the "update"
# feature is used
$id = $maybeid;