1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

wafsamba: Have INSTALL_DIR() log directory creation

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Martin Schwenke 2018-09-11 14:35:02 +10:00 committed by Alexander Bokovoy
parent 26ea0f58da
commit b4fa3f982a

View File

@ -903,6 +903,7 @@ def INSTALL_DIR(bld, path, chmod=0o755, env=None):
if bld.is_install > 0:
if not os.path.isdir(destpath):
try:
Logs.info('* create %s', destpath)
os.makedirs(destpath)
os.chmod(destpath, chmod)
except OSError as e: