mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user