build: fix po->lua conversion, last po entry was always missing

This commit is contained in:
Jo-Philipp Wich 2009-06-10 23:04:07 +00:00
parent ef92e3677c
commit 2ef4b11de9

View file

@ -31,7 +31,7 @@ if( open F, "find $source_dir -type f -name '*.po' |" )
my ( $k, $v ); my ( $k, $v );
while( chomp( my $line = readline L ) ) while( chomp( my $line = readline L ) || ( defined($k) && defined($v) ) )
{ {
if( $line =~ /^msgid "(.+)"/ ) if( $line =~ /^msgid "(.+)"/ )
{ {