summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/generate-file-list.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
commit4f5791ebd03eaec1c7da0865a383175b05102712 (patch)
tree8ce7b00f7a76baa386372422adebbe64510812d4 /docs-xml/smbdotconf/generate-file-list.sh
parentInitial commit. (diff)
downloadsamba-upstream.tar.xz
samba-upstream.zip
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs-xml/smbdotconf/generate-file-list.sh')
-rwxr-xr-xdocs-xml/smbdotconf/generate-file-list.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/generate-file-list.sh b/docs-xml/smbdotconf/generate-file-list.sh
new file mode 100755
index 0000000..dd981b3
--- /dev/null
+++ b/docs-xml/smbdotconf/generate-file-list.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+set -e
+echo "<!DOCTYPE section ["
+$(dirname $0)/../generate-pathconf-entities.sh
+
+echo "]>"
+
+DIR=.
+if [ "x$1" != "x" ]; then
+ DIR="$1"
+fi
+
+OLD=$(pwd)
+cd $DIR
+
+echo "<section>"
+for I in $(find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs); do
+ cat $I
+done
+echo "</section>"
+
+cd $OLD