summaryrefslogtreecommitdiff
path: root/docs/docbook
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-06-16 20:21:14 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-06-16 20:21:14 +0000
commit498576b40d162811771d8b81fa1abecf482888bb (patch)
tree439d42555dfc08806a91d4999b564135188b1380 /docs/docbook
parentaa2e1198ea987111facc57bf8ec59381a1078c84 (diff)
downloadsamba-498576b40d162811771d8b81fa1abecf482888bb.tar.gz
samba-498576b40d162811771d8b81fa1abecf482888bb.tar.bz2
samba-498576b40d162811771d8b81fa1abecf482888bb.zip
Fix for non-bourne shells
(This used to be commit 4ffe0b9f5452ce60511a030febe4e92dfa853073)
Diffstat (limited to 'docs/docbook')
-rwxr-xr-xdocs/docbook/smbdotconf/generate-file-list.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/docbook/smbdotconf/generate-file-list.sh b/docs/docbook/smbdotconf/generate-file-list.sh
index 3495f50c43..84c3d5d2fc 100755
--- a/docs/docbook/smbdotconf/generate-file-list.sh
+++ b/docs/docbook/smbdotconf/generate-file-list.sh
@@ -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>"