1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

docs: remove the file prefix from included path names

This allows the inbuilt python xml modules to perform the include.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Garming Sam 2014-01-07 17:09:39 +13:00 committed by Michael Adam
parent 02379369ef
commit 1d68b5b0bb

View File

@ -100,7 +100,7 @@ def smbdotconf_generate_parameter_list(task):
t = '<section xmlns:xi="http://www.w3.org/2001/XInclude">\n'
for article in articles:
t += "<xi:include href='file://" + article.abspath(task.env) + "' parse='xml'/>\n"
t += "<xi:include href='" + article.abspath(task.env) + "' parse='xml'/>\n"
t += "</section>\n"
save_file(parameter_all, t , create_dir=True)
return 0