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:
parent
26ea0f58da
commit
b4fa3f982a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user