From 32b5b6992d94c7bfc1c87177492380b5789747c1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 21 Jun 2004 22:43:30 +0000 Subject: [PATCH] Fix smb.conf.5 build --- docs/smbdotconf/generate-file-list.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/smbdotconf/generate-file-list.sh b/docs/smbdotconf/generate-file-list.sh index 179fb8df8c2..08973324631 100755 --- a/docs/smbdotconf/generate-file-list.sh +++ b/docs/smbdotconf/generate-file-list.sh @@ -5,10 +5,15 @@ then DIR="$1" fi -echo "" -for I in `find $DIR -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs` +OLD=`pwd` +cd $DIR + +echo "" +for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs` do echo "" done echo "" + +cd $OLD -- 2.11.4.GIT