1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

docs-xml/wscript_build: update to handle waf 2.0.4

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Alexander Bokovoy 2018-02-02 16:34:31 +02:00 committed by Andrew Bartlett
parent 65074d8901
commit efa94eb39a

View File

@ -138,7 +138,7 @@ def smbdotconf_generate_parameter_list(task):
# POSIX file systems aren't required to return sorted content but we want
# smb.conf parameters to be sorted alphabetically
sources = bld.path.ant_glob("smbdotconf/**/*.xml", flat=False)
articles = " ".join(sorted([x.relpath_gen(bld.path) for x in sources],
articles = " ".join(sorted([x.path_from(bld.path) for x in sources],
key=lambda m: m.split(os.sep)[-1]))
parameter_all = 'smbdotconf/parameters.all.xml'