mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: Fix nrarchive for wildcard in the directory part (Forum #55360)
git-svn-id: https://svn.fhem.de/fhem/trunk@11756 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
95e2907e42
commit
432d5566de
@ -3309,6 +3309,8 @@ HandleArchiving($;$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$file =~ s/%./.+/g;
|
$file =~ s/%./.+/g;
|
||||||
|
my @t = localtime;
|
||||||
|
$dir = ResolveDateWildcards($dir, @t);
|
||||||
return if(!opendir(DH, $dir));
|
return if(!opendir(DH, $dir));
|
||||||
my @files = sort grep {/^$file$/} readdir(DH);
|
my @files = sort grep {/^$file$/} readdir(DH);
|
||||||
closedir(DH);
|
closedir(DH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user