summaryrefslogtreecommitdiff
path: root/docs-xml/wscript_build
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2018-02-02 16:34:31 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:22 +0200
commitefa94eb39a6d49f4f73d5ab83899f11b6e1e5de8 (patch)
treea04fbdfa6ddbf7e247af9369acdb58af5f93b3eb /docs-xml/wscript_build
parent65074d8901d348a6614657e0d3e23c2280ac22e7 (diff)
downloadsamba-efa94eb39a6d49f4f73d5ab83899f11b6e1e5de8.tar.gz
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>
Diffstat (limited to 'docs-xml/wscript_build')
-rw-r--r--docs-xml/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
index ec5d28fc62a..0ba4fafc245 100644
--- a/docs-xml/wscript_build
+++ b/docs-xml/wscript_build
@@ -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'