Fix #3793: CFMUtils.pm can not sync-up symbolic link directory under cfmdir
This commit is contained in:
parent
c3749b7f93
commit
eb16d571a0
@ -363,7 +363,8 @@ sub updateCFMSynclistFile {
|
||||
|
||||
# recursively list the files under cfm directory
|
||||
my @files = ();
|
||||
find ( sub { push @files, $File::Find::name if (! -d) }, $cfmdir);
|
||||
|
||||
find ( { wanted => sub { push @files, $File::Find::name if -f }, follow => 1 }, $cfmdir);
|
||||
if (!@files) # not files under cfm directory, skip to next loop
|
||||
{
|
||||
next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user