From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [OSSTest PATCH 1/2] Use `mkdir -p' in a few more places Date: Thu, 12 Dec 2013 13:36:53 +0100 Message-ID: <20131212123652.31099.46489.stgit@Solace> References: <20131212123239.31099.15104.stgit@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131212123239.31099.15104.stgit@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org to avoid builds to fail because of missing dirs. Signed-off-by: Dario Faggioli --- ts-kernel-build | 2 +- ts-xen-build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index 478d912..8ccd89c 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -39,7 +39,7 @@ my $archparms = { }; sub checkout () { - target_cmd($ho, "rm -rf $builddir && mkdir $builddir", 600); + target_cmd($ho, "rm -rf $builddir && mkdir -p $builddir", 600); build_clone($ho, 'xen', $builddir, 'xen-unstable'); diff --git a/ts-xen-build b/ts-xen-build index 74d17f0..77dbbf4 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -39,7 +39,7 @@ sub checkout () { $kerns='' unless defined $kerns; $kerns =~ s/,/ /g; - target_cmd($ho, "rm -rf $builddir && mkdir $builddir", 60); + target_cmd($ho, "rm -rf $builddir && mkdir -p $builddir", 60); build_clone($ho, 'xen', $builddir, 'xen-unstable');