From 90ccc336b4d0614b9eb01fe299d8ddc87afe585f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Tue, 24 Jul 2007 18:49:33 +0000 Subject: [PATCH] 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 --- tools/genlang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;