]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs: remove the file prefix from included path names
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 04:09:39 +0000 (17:09 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 18 Nov 2014 20:09:03 +0000 (21:09 +0100)
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>
(cherry picked from commit 1d68b5b0bb3158cabcd371ab5c24392bcb0a32bd)

docs-xml/wscript_build

index c8a686391ee83d63ca6eb5902ee92569078d2e61..59913e8a785ff51ba81597872bd47af4b7d1b1f5 100644 (file)
@@ -95,7 +95,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