summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/generate-file-list.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/smbdotconf/generate-file-list.sh')
-rwxr-xr-xdocs/docbook/smbdotconf/generate-file-list.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docbook/smbdotconf/generate-file-list.sh b/docs/docbook/smbdotconf/generate-file-list.sh
index f61ac4f49c..3495f50c43 100755
--- a/docs/docbook/smbdotconf/generate-file-list.sh
+++ b/docs/docbook/smbdotconf/generate-file-list.sh
@@ -1,6 +1,6 @@
#!/bin/sh
echo "<variablelist>"
-find . -type f -name '*.xml' -mindepth 2 | sort |
+find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 |
while read ; do
echo "<xi:include href='$REPLY' parse='xml' xmlns:xi='http://www.w3.org/2001/XInclude'/>"
done