1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/docs-xml/smbdotconf/generate-file-list.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
308 B
Bash
Raw Normal View History

#!/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