1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Support running from a different directory

(This used to be commit ec0bbb6c2e)
This commit is contained in:
Jelmer Vernooij 2004-06-18 13:12:52 +00:00 committed by Gerald W. Carter
parent 2fb5f5f740
commit 9eb45e211c

View File

@ -1,6 +1,12 @@
#!/bin/sh
DIR=.
if [ "x$1" != "x" ]
then
DIR="$1"
fi
echo "<variablelist>"
for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
for I in `find $DIR -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
do
echo "<xi:include href='$I' parse='xml'/>"
done