From 29d49774023205d266695a98f927e668f6647435 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 9 Jun 2009 16:45:17 +0000 Subject: [PATCH] mkdir -p git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 78f3ccaa5..6cc10451d 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -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) {