From 6ef106dddef4fc05cc9622d71918cae1e31af085 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Sat, 7 Aug 2004 23:01:16 +0000 Subject: Skip comments in language.conf, thanks to Luca Monducci. CVS version numbers check_trans.pl: 1.58 -> 1.59 --- check_trans.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'check_trans.pl') diff --git a/check_trans.pl b/check_trans.pl index dde670b0774..5e63660f5cd 100755 --- a/check_trans.pl +++ b/check_trans.pl @@ -162,8 +162,12 @@ if (exists $ENV{DWWW_LANG}) } elsif (open CONF, "; - chomp $defaultlanguage; + while () + { + next if /^#/; + $defaultlanguage = ; + chomp $defaultlanguage; + } close CONF; } -- cgit v1.2.3