mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
55316b37e1
(This used to be commit 643f25c8bf
)
20 lines
318 B
Bash
Executable File
20 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
DIR=.
|
|
if [ "x$1" != "x" ]
|
|
then
|
|
DIR="$1"
|
|
fi
|
|
|
|
OLD=`pwd`
|
|
cd $DIR
|
|
|
|
echo "<variablelist xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
|
|
for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
|
|
do
|
|
echo "<xi:include href='$I' parse='xml'/>"
|
|
done
|
|
|
|
echo "</variablelist>"
|
|
|
|
cd $OLD
|