fix syntax error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-10-16 14:53:12 +00:00
parent 50dc7949b1
commit 8a15138e4e

View File

@ -2078,14 +2078,14 @@ sub doAIXcopy
{
my $rsp;
push @{$rsp->{data}}, "Copying $srcdir to $dir on service node $snkey.\n";
xCAT::MsgUtils->message("I", $rsp, $callback);
# make sure the dir exists on the service node
# also make sure it's writeable by all
my $mkcmd = qq~/usr/bin/mkdir -p $dir~;
my $output = xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $snkey, $mkcmd, 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message("I", $rsp, $callback);
}
# make sure the dir exists on the service node
# also make sure it's writeable by all
my $mkcmd = qq~/usr/bin/mkdir -p $dir~;
my $output = xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $snkey, $mkcmd, 0);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}},
"Could not create directories on $snkey.\n";
@ -2095,7 +2095,7 @@ sub doAIXcopy
}
xCAT::MsgUtils->message("E", $rsp, $callback);
next;
}
}
# sync source files to SN
my $cpcmd = qq~$::XCATROOT/bin/prsync -o "rlHpEAogDz" $srcdir $snkey:$dir 2>/dev/null~;