trying to get HEAD building again. If you want the code
[tprouty/samba.git] / docs / docbook / smbdotconf / generate-file-list.sh
index 3495f50c4324512ff6f4c9e34951b6bbddcd2525..84c3d5d2fc401eeb8a2d57b85587be1e528c53ab 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 echo "<variablelist>"
-find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 |
-        while read ; do  
-                echo "<xi:include href='$REPLY' parse='xml' xmlns:xi='http://www.w3.org/2001/XInclude'/>"
-        done
+for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs`
+do 
+       echo "<xi:include href='$I' parse='xml' xmlns:xi='http://www.w3.org/2001/XInclude'/>"
+done
                 
 echo "</variablelist>"