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

pre-commit: fix .pm checking

git-svn-id: https://svn.fhem.de/fhem/trunk@21991 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-05-21 11:19:15 +00:00
parent 5a7efe5380
commit 2ddc7170ba

View File

@ -67,7 +67,7 @@ foreach my $row (split("\n", $fList)) {
################################
# look for SVN Id
if($fName =~ m,trunk/fhem/(FHEM|lib)/[^/]+\.pm$,) {
if($fName =~ m,trunk/fhem/(FHEM|lib)/.*.pm$,) {
my $hasId = 0;
open(FILE, "$svnlook $arg cat $repos $fName|") ||
die("Cant svnlook cat $fName:$!\n");