1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/docs/smbdotconf/generate-file-list.sh

15 lines
248 B
Bash
Raw Normal View History

#!/bin/sh
DIR=.
if [ "x$1" != "x" ]
then
DIR="$1"
fi
echo "<variablelist>"
for I in `find $DIR -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
do
echo "<xi:include href='$I' parse='xml'/>"
done
echo "</variablelist>"