From 4311332a073787f4ca24cd0b89685632cb29134c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 10 Aug 2017 11:40:06 +0200 Subject: wafsamba: Call INSTALL_DIR in INSTALL_DIRS BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index b1e617916e0..57913af2bd7 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -904,12 +904,12 @@ def INSTALL_DIR(bld, path, chmod=0o755): os.chmod(path, chmod) Build.BuildContext.INSTALL_DIR = INSTALL_DIR -def INSTALL_DIRS(bld, destdir, dirs): +def INSTALL_DIRS(bld, destdir, dirs, chmod=0o755): '''install a set of directories''' destdir = bld.EXPAND_VARIABLES(destdir) dirs = bld.EXPAND_VARIABLES(dirs) for d in TO_LIST(dirs): - bld.install_dir(os.path.join(destdir, d)) + INSTALL_DIR(bld, os.path.join(destdir, d), chmod) Build.BuildContext.INSTALL_DIRS = INSTALL_DIRS -- cgit v1.2.1