diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-10 23:04:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-10 23:04:07 +0000 |
commit | 2ef4b11de93165bd197b1583997f5c78d6bc64e5 (patch) | |
tree | d3f665572ab7959db387058c66033023d2c686cc /build | |
parent | ef92e3677c5efebf5a546b1ec2983425b8a87a22 (diff) |
build: fix po->lua conversion, last po entry was always missing
Diffstat (limited to 'build')
-rwxr-xr-x | build/i18n-po2lua.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-po2lua.pl b/build/i18n-po2lua.pl index 8466fd9890..c57198fd5c 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 "(.+)"/ ) { |