mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +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:
committed by
Andreas Schneider
parent
2d5d88ff34
commit
1b8b6ac801
@ -21,20 +21,17 @@ echo "<!DOCTYPE section [
|
||||
]>"
|
||||
|
||||
DIR=.
|
||||
if [ "x$1" != "x" ]
|
||||
then
|
||||
if [ "x$1" != "x" ]; then
|
||||
DIR="$1"
|
||||
fi
|
||||
|
||||
OLD=`pwd`
|
||||
OLD=$(pwd)
|
||||
cd $DIR
|
||||
|
||||
echo "<section>"
|
||||
for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
|
||||
do
|
||||
for I in $(find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs); do
|
||||
cat $I
|
||||
done
|
||||
echo "</section>"
|
||||
|
||||
|
||||
cd $OLD
|
||||
|
Reference in New Issue
Block a user