From 5a92d204542e91c37169e89e3bf40a64a46a8d6e Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 8 Jun 2009 18:10:37 +0000 Subject: [PATCH] do not delete built rsync script for now for debugging git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/RSYNC.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/RSYNC.pm b/perl-xCAT/xCAT/RSYNC.pm index 840d95b13..56dee0efb 100644 --- a/perl-xCAT/xCAT/RSYNC.pm +++ b/perl-xCAT/xCAT/RSYNC.pm @@ -69,7 +69,7 @@ sub remote_copy_command if ($$config{'destDir_srcFile'}) { - my $rsync_opt; + my $sync_opt; $sync_opt = '-Lupotz '; $sync_opt .= $$config{'options'}; @@ -107,7 +107,7 @@ sub remote_copy_command } } - print RSCYCCMDFILE "/bin/rm -f /tmp/rsync_$$config{'dest-host'}\n"; + #print RSCYCCMDFILE "/bin/rm -f /tmp/rsync_$$config{'dest-host'}\n"; close RSCYCCMDFILE; chmod 0755, "/tmp/rsync_$$config{'dest-host'}"; @command = ('/bin/sh', '-c', "/tmp/rsync_$$config{'dest-host'}");