diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-07-24 18:49:33 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-07-24 18:49:33 +0000 |
| commit | 90ccc336b4d0614b9eb01fe299d8ddc87afe585f (patch) | |
| tree | 34e12df7d7117d4fc32facd22cc797dbb8b5e66f | |
| parent | 4382ac84ac7bc622fbfd28599433454c7d4cecc8 (diff) | |
| download | rockbox-90ccc336b4d0614b9eb01fe299d8ddc87afe585f.zip rockbox-90ccc336b4d0614b9eb01fe299d8ddc87afe585f.tar.gz rockbox-90ccc336b4d0614b9eb01fe299d8ddc87afe585f.tar.bz2 rockbox-90ccc336b4d0614b9eb01fe299d8ddc87afe585f.tar.xz | |
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
| -rwxr-xr-x | tools/genlang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang index 965c187..f2a0706 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; |