Kaydet (Commit) 95d6675f authored tarafından Andras Timar's avatar Andras Timar

skip empty lines in msi-encodinglist.txt

Change-Id: I1dbcf68c9581e5b66df0f4485d73ca19c5168dd9
üst f674de15
......@@ -417,6 +417,8 @@ sub read_encodinglist
if ( $line =~ /^\s*\#/ ) { next; } # this is a comment line
if ( $line =~ /^$/ ) { next; } # this is an empty line
if ( $line =~ /^(.*?)(\#.*)$/ ) { $line = $1; } # removing comments after "#"
if ( $line =~ /^\s*([\w-]+)\s*(\d+)\s*(\d+)\s*$/ )
......@@ -430,7 +432,7 @@ sub read_encodinglist
}
else
{
installer::exiter::exit_program("ERROR: Wrong syntax in Windows encoding list $installer::globals::encodinglistname : en-US 1252 1033 !", "read_encodinglist");
installer::exiter::exit_program("ERROR: Wrong syntax in Windows encoding list $installer::globals::encodinglistname in line $i.", "read_encodinglist");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment