mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	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:
		| @@ -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~; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user