]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs-xml/wscript_build: update to handle waf 2.0.4
authorAlexander Bokovoy <ab@samba.org>
Fri, 2 Feb 2018 14:34:31 +0000 (16:34 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:22 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/wscript_build

index ec5d28fc62a6dcf0ed57c03c8d9f21fd889dac26..0ba4fafc24532a5b50cdcf80d0bc2e2d429f6287 100644 (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'