From 2ef4b11de93165bd197b1583997f5c78d6bc64e5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 10 Jun 2009 23:04:07 +0000 Subject: [PATCH] build: fix po->lua conversion, last po entry was always missing --- build/i18n-po2lua.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/i18n-po2lua.pl b/build/i18n-po2lua.pl index 8466fd989..c57198fd5 100755 --- a/build/i18n-po2lua.pl +++ b/build/i18n-po2lua.pl @@ -31,7 +31,7 @@ if( open F, "find $source_dir -type f -name '*.po' |" ) my ( $k, $v ); - while( chomp( my $line = readline L ) ) + while( chomp( my $line = readline L ) || ( defined($k) && defined($v) ) ) { if( $line =~ /^msgid "(.+)"/ ) { -- 2.25.1