mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 19:20:24 +00:00
This commit is contained in:
@@ -5216,7 +5216,13 @@ sub parse_rsync_input_file_on_MN
|
||||
if ($rsyncSN == 1)
|
||||
{ # syncing the SN
|
||||
$dest_dir = $syncdir; # the SN sync dir
|
||||
$dest_dir .= dirname($srcfile);
|
||||
if($srcfile =~ /\/$/){
|
||||
#the srcfile is a directory
|
||||
$dest_dir .= $srcfile;
|
||||
}else{
|
||||
#the srcfile is a file
|
||||
$dest_dir .= dirname($srcfile);
|
||||
}
|
||||
$dest_dir =~ s/\s*//g; #remove blanks
|
||||
}
|
||||
$$options{'destDir_srcFile'}{$target_node}{$dest_dir} ||=
|
||||
|
Reference in New Issue
Block a user