fix defect 3396951 PMR 67326

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-08-23 16:25:28 +00:00
parent 5ceedcdb26
commit 47353462b7
2 changed files with 7 additions and 7 deletions

View File

@ -4257,8 +4257,8 @@ sub parse_and_run_dcp
/.../file1 /..../filex -> /...../dir1
rsync command format
/usr/bin/rsync -Lprotz /etc/services $pathtoimage/etc/services
/usr/bin/rsync -Lprotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa
/usr/bin/rsync -Lprgotz /etc/services $pathtoimage/etc/services
/usr/bin/rsync -Lprgotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa
Arguments:
Input:
@ -4344,16 +4344,16 @@ sub rsync_to_image
{
if (-e ("/usr/bin/rsync"))
{
$synccmd = "/usr/bin/rsync -Lprotz ";
$synccmd = "/usr/bin/rsync -Lprogtz ";
}
else
{
$synccmd = "/usr/local/bin/rsync -Lprotz ";
$synccmd = "/usr/local/bin/rsync -Lprogtz ";
}
}
else # linux
{
$synccmd = "/usr/bin/rsync -Lprotz ";
$synccmd = "/usr/bin/rsync -Lprogtz ";
}
my $syncopt = "";
foreach my $srcfile (@srcfiles)

View File

@ -116,9 +116,9 @@ sub remote_copy_command
# if only syncing the service node or no postscripts then do not
# get update file notification
if (($::SYNCSN == 1) || (!(defined @::postscripts))) {
$sync_opt .= '-Lprotz ';
$sync_opt .= '-Lprogtz ';
} else {
$sync_opt .= '-Liprotz --out-format=%f%L '; # add notify of update
$sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update
}
$sync_opt .= $$config{'options'};
if ($::SYNCSN == 1)