From 76db796181419967a483bcd71fe0cca313ccaf82 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 21 Oct 2020 07:43:08 +0200 Subject: [PATCH] python: Create targetdir recursively This fixes `make test` in a release tarball. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14542 Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy --- python/samba/netcmd/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 000688f4e7a..5f08ddf6007 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -445,7 +445,7 @@ class cmd_domain_provision(Command): if targetdir is not None: if not os.path.isdir(targetdir): - os.mkdir(targetdir) + os.makedirs(targetdir) eadb = True -- 2.47.3