From: Andreas Schneider Date: Sat, 19 Feb 2022 07:56:15 +0000 (+0100) Subject: docs-xml: Reformat shell scripts X-Git-Tag: tevent-0.12.0~660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b8b6ac801e94c3f2fb026e6dfe1275ae9caef47;p=thirdparty%2Fsamba.git docs-xml: Reformat shell scripts shfmt -f docs-xml | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- 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 "" DIR=. -if [ "x$1" != "x" ] -then +if [ "x$1" != "x" ]; then DIR="$1" fi -OLD=`pwd` +OLD=$(pwd) cd $DIR echo "
" -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 "
" - cd $OLD