mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	made it so that it would recopy to directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -853,8 +853,11 @@ sub moveExtra { | ||||
| 				return 0; | ||||
| 			} | ||||
| 		} | ||||
| 		unless(move("$imgdir/extra/$ff", $dest)){ | ||||
| 			$callback->( {error=>["Failed to move $imgdir/extra/$ff to $dest"], errorcode => 1}); | ||||
| 		# this could cause some problems.  This is one of the reasons we may not want to  | ||||
| 		# allow copying of directories.   | ||||
| 		system("cp -a $imgdir/extra/$ff/* $dest"); | ||||
| 		if($?){ | ||||
| 			$callback->( {error=>["Failed to cp -a $imgdir/extra/$ff/* to $dest"], errorcode => 1}); | ||||
| 			return 0; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user