[Pkg-libvirt-commits] [libguestfs] 28/72: builder: use mkdir_p to create the cachedir (RHBZ#1195204)

Hilko Bengen bengen at moszumanska.debian.org
Sun Apr 5 15:19:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 3839105d405a8b4d639f5cd2bd68951de79be67f
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Mon Feb 23 14:08:02 2015 +0100

    builder: use mkdir_p to create the cachedir (RHBZ#1195204)
    
    (cherry picked from commit 652af7a33ac769b063cadddc41786dc69bbe2792)
---
 builder/cache.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/cache.ml b/builder/cache.ml
index d1fb053..9a721ed 100644
--- a/builder/cache.ml
+++ b/builder/cache.ml
@@ -35,7 +35,7 @@ type t = {
 
 let create ~verbose ~directory =
   if not (is_directory directory) then
-    mkdir directory 0o755;
+    mkdir_p directory 0o755;
   {
     verbose = verbose;
     directory = directory;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list