Updated entry of samba-vscan
[Samba.git] / docs / smbdotconf / generate-file-list.sh
blob089733246316f99d5281b763489e32c205a0f387
1 #!/bin/sh
2 DIR=.
3 if [ "x$1" != "x" ]
4 then
5 DIR="$1"
6 fi
8 OLD=`pwd`
9 cd $DIR
11 echo "<variablelist xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
12 for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
13 do
14 echo "<xi:include href='$I' parse='xml'/>"
15 done
17 echo "</variablelist>"
19 cd $OLD