summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/generate-file-list.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-06-21 22:43:30 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:45:56 -0500
commit55316b37e187057255725313810501769576176c (patch)
treeefe18e93f52f7ed04c454aa3cc0e787ef4b91cca /docs/smbdotconf/generate-file-list.sh
parent6d19d019e4adb751feb727a1aee91ca61de07e6d (diff)
downloadsamba-55316b37e187057255725313810501769576176c.tar.gz
samba-55316b37e187057255725313810501769576176c.tar.bz2
samba-55316b37e187057255725313810501769576176c.zip
Fix smb.conf.5 build
(This used to be commit 643f25c8bf672e6f5968ad28386a70665d58e347)
Diffstat (limited to 'docs/smbdotconf/generate-file-list.sh')
-rwxr-xr-xdocs/smbdotconf/generate-file-list.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/smbdotconf/generate-file-list.sh b/docs/smbdotconf/generate-file-list.sh
index 179fb8df8c..0897332463 100755
--- a/docs/smbdotconf/generate-file-list.sh
+++ b/docs/smbdotconf/generate-file-list.sh
@@ -5,10 +5,15 @@ then
DIR="$1"
fi
-echo "<variablelist>"
-for I in `find $DIR -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
+OLD=`pwd`
+cd $DIR
+
+echo "<variablelist xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
+for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
do
echo "<xi:include href='$I' parse='xml'/>"
done
echo "</variablelist>"
+
+cd $OLD