1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

docs-xml: Reformat shell scripts

shfmt -f docs-xml | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider
2022-02-19 08:56:15 +01:00
committed by Andreas Schneider
parent 2d5d88ff34
commit 1b8b6ac801

View File

@ -21,20 +21,17 @@ echo "<!DOCTYPE section [
]>" ]>"
DIR=. DIR=.
if [ "x$1" != "x" ] if [ "x$1" != "x" ]; then
then
DIR="$1" DIR="$1"
fi fi
OLD=`pwd` OLD=$(pwd)
cd $DIR cd $DIR
echo "<section>" echo "<section>"
for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs` for I in $(find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs); do
do
cat $I cat $I
done done
echo "</section>" echo "</section>"
cd $OLD cd $OLD