diff options
author | Andreas Schneider <asn@samba.org> | 2017-08-10 11:40:06 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-08-24 05:39:26 +0200 |
commit | 4311332a073787f4ca24cd0b89685632cb29134c (patch) | |
tree | aa3fe34fa1c552e30ff5128e7e96d5ab3ccb5863 /buildtools/wafsamba | |
parent | 59dc9eb776551ee73cc11e1c1215b311d5299d4d (diff) | |
download | samba-4311332a073787f4ca24cd0b89685632cb29134c.tar.gz |
wafsamba: Call INSTALL_DIR in INSTALL_DIRS
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |