2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

Won't work for DOS encoded .pm

git-svn-id: https://svn.fhem.de/fhem/trunk@2496 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-01-12 21:04:17 +00:00
parent d9d30098c2
commit bff52e319b

View File

@ -67,7 +67,7 @@ foreach my $lang (@lang) {
my $line = 0;
while(my $l = <MOD>) {
$line++;
if($l =~ m/^=begin html$suffix$/) {
if($l =~ m/^=begin html$suffix/) {
$l = <MOD>; # skip one line, to be able to repeat join+split
$skip = 0; $line++;
} elsif($l =~ m/^=end html$suffix/) {