From 9e8a1c77593d10488d8ee0303f8fa41da793a6c5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Oct 2002 09:28:46 +0000 Subject: one or more spaces after the terminating quote should be ok too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2602 a1c6a512-1295-4272-9138-f99709370657 --- tools/genlang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/genlang b/tools/genlang index 448784e49e..659e5f44e1 100755 --- a/tools/genlang +++ b/tools/genlang @@ -61,8 +61,8 @@ while() { $set{$var} = $value; - if( (($var eq "new") && $value && ($value !~ /^\"(.*)\"$/)) || - (($var eq "eng") && ($value !~ /^\"(.*)\"$/)) ) { + if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) || + (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) { print "missing quotes on line $line for ".$set{'id'}."\n"; next; } -- cgit v1.2.3