changeset 11:af7d7a237911

Untangle while loop slightly.
author Rob Landley <rob@landley.net>
date Thu, 02 Aug 2007 19:44:18 -0400
parents 72ac28634233
children b7f376e957ac
files make/make.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/make.sh	Thu Aug 02 14:45:38 2007 -0400
+++ b/make/make.sh	Thu Aug 02 19:44:18 2007 -0400
@@ -27,7 +27,10 @@
   do xmlto xhtml-nochunks $i -o xhtml-nochunks 
 done
 # Wait for background task to finish before retrieving result
-while [ $(jobs | wc -l) -ne 0 ]; do sleep 1; done
+while [ $(jobs | wc -l) -ne 0 ]
+do
+  sleep 1
+done
 mv xhtml-nochunks/*.html .
 rmdir xhtml-nochunks