xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: xen-devel@lists.xen.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: [OSSTest PATCH 1/2] Use `mkdir -p' in a few more places
Date: Thu, 12 Dec 2013 13:36:53 +0100	[thread overview]
Message-ID: <20131212123652.31099.46489.stgit@Solace> (raw)
In-Reply-To: <20131212123239.31099.15104.stgit@Solace>

to avoid builds to fail because of missing dirs.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
 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');

  reply	other threads:[~2013-12-12 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 12:36 [OSSTest PATCH 0/2] Fix (minor) bugs in dir creation and root login Dario Faggioli
2013-12-12 12:36 ` Dario Faggioli [this message]
2013-12-12 12:37 ` [OSSTest PATCH 2/2] ts-debian-fixup: avoid removing the host root password Dario Faggioli
2013-12-12 16:27 ` [OSSTest PATCH 0/2] Fix (minor) bugs in dir creation and root login Ian Jackson
2013-12-12 16:34   ` Dario Faggioli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131212123652.31099.46489.stgit@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).