[Libguestfs] [PATCH 2/2] builder: use mkdir_p to create the cachedir (RHBZ#1195204)
Kashyap Chamarthy
kchamart at redhat.com
Tue Feb 24 10:12:33 UTC 2015
On Mon, Feb 23, 2015 at 02:09:18PM +0100, Pino Toscano wrote:
> ---
> builder/cache.ml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
ACK.
Just tested locally with this.
> diff --git a/builder/cache.ml b/builder/cache.ml
> index 9e69bc1..86ac41b 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;
> --
> 2.1.0
--
/kashyap
More information about the Libguestfs
mailing list