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:
parent
d205884db8
commit
7d44d61585
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user