Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
# 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'