2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-06 06:36:36 +00:00

98_update.pm: allow \r in controlfile (Forum #40799)

git-svn-id: https://svn.fhem.de/fhem/trunk@9240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-09-13 10:42:30 +00:00
parent 53ff453531
commit 15155d62a5

View File

@ -130,7 +130,7 @@ doUpdate($$)
my $remCtrlFile = upd_getUrl($src); my $remCtrlFile = upd_getUrl($src);
return if(!$remCtrlFile); return if(!$remCtrlFile);
my @remList = split("\n", $remCtrlFile); my @remList = split(/\R/, $remCtrlFile);
uLog 4, "Got remote controlfile with ".int(@remList)." entries."; uLog 4, "Got remote controlfile with ".int(@remList)." entries.";
########################### ###########################