summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-02-19 08:56:15 +0100
committerAndreas Schneider <asn@cryptomilk.org>2022-02-22 15:23:35 +0000
commit1b8b6ac801e94c3f2fb026e6dfe1275ae9caef47 (patch)
treec35f01558ec5c68f4b37216b1ac83e2cca941b21 /docs-xml
parent2d5d88ff34532ba2d78997467e5720bba480f07e (diff)
downloadsamba-1b8b6ac801e94c3f2fb026e6dfe1275ae9caef47.tar.gz
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>
Diffstat (limited to 'docs-xml')
-rwxr-xr-xdocs-xml/smbdotconf/generate-file-list.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/docs-xml/smbdotconf/generate-file-list.sh b/docs-xml/smbdotconf/generate-file-list.sh
index a86bac5c289..27c9c5b753e 100755
--- a/docs-xml/smbdotconf/generate-file-list.sh
+++ b/docs-xml/smbdotconf/generate-file-list.sh
@@ -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