diff options
author | Andreas Schneider <asn@samba.org> | 2022-02-19 08:56:15 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-02-22 15:23:35 +0000 |
commit | 1b8b6ac801e94c3f2fb026e6dfe1275ae9caef47 (patch) | |
tree | c35f01558ec5c68f4b37216b1ac83e2cca941b21 /docs-xml | |
parent | 2d5d88ff34532ba2d78997467e5720bba480f07e (diff) | |
download | samba-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-x | docs-xml/smbdotconf/generate-file-list.sh | 9 |
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 |