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