mkdir -p
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ad058980f5
commit
29d4977402
@ -4304,7 +4304,7 @@ sub rsync_to_image
|
||||
my @srcfiles = (split ' ', $src_file);
|
||||
if (!(-d $imageupdatedir))
|
||||
{ # if it does not exist, make it
|
||||
my $cmd = "mkdir $imageupdatedir";
|
||||
my $cmd = "mkdir -p $imageupdatedir";
|
||||
my @output = xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user