From: Andreas Schneider Date: Wed, 21 Oct 2020 05:43:08 +0000 (+0200) Subject: python: Create targetdir recursively X-Git-Tag: talloc-2.3.2~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76db796181419967a483bcd71fe0cca313ccaf82;p=thirdparty%2Fsamba.git 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 --- 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