[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTest PATCH 1/2] Use `mkdir -p' in a few more places



to avoid builds to fail because of missing dirs.

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.