components/samba/samba/patches/generate-file-list.patch
changeset 264 84a67a54e8fd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/samba/samba/patches/generate-file-list.patch	Wed May 25 18:33:43 2011 +0200
@@ -0,0 +1,14 @@
+--- docs-xml/smbdotconf/generate-file-list.sh	Sat Feb 20 01:12:25 2010
++++ docs-xml/smbdotconf/generate-file-list.sh	Mon Jan 18 03:38:09 2010
+@@ -9,7 +9,10 @@
+ cd $DIR
+ 
+ echo "<section xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
+-for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
++
++#for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
++# Remove lines containing just one slash
++for I in `find . -type f -name '*.xml' | grep -v '^[^/]*/[^/]*$' | sort -t/ -k3 | xargs`
+ do 
+ 	echo "<xi:include href='$I' parse='xml'/>"
+ done