mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-23 12:51:10 +00:00
@@ -1741,7 +1741,9 @@ sub get_files_recursive
|
||||
next if ($direntry eq '..');
|
||||
my $target = "$dir/$direntry";
|
||||
if (-d $target) {
|
||||
get_files_recursive($target, $files_path_ref);
|
||||
unless ($target =~ /xcat-inventory\/templates/){
|
||||
get_files_recursive($target, $files_path_ref);
|
||||
}
|
||||
} else {
|
||||
push(@{$files_path_ref}, glob("$target\n"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user