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

98_help.pm: small bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@19915 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2019-07-29 20:01:16 +00:00
parent 95ef9e32bd
commit 4a42432f96

View File

@ -265,7 +265,8 @@ sub cref_findInfo {
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'}); my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
foreach $l (@text) { foreach $l (@text) {
@line = split("[ \t][ \t]*", $l,3); @line = split("[ \t][ \t]*", $l,3);
$found = ($l =~ m/_$mod/i); $found = ($l =~ m/.._$mod.pm/i);
# $found = ($l =~ m/_$mod/i);
last if ($found); last if ($found);
} }
if($found) { if($found) {