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:
parent
2fb5f5f740
commit
9eb45e211c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user