Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix infinite loop issue with doc

  • Loading branch information...
commit ecf62b2a452a58f5576331658b16d92b95f65da2 1 parent 5f629dd
Doc Ritezel authored October 31, 2011

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  bin/functions/doc.inc
5  bin/functions/doc.inc
@@ -11,12 +11,15 @@ mt_doc_table ()
11 11
 {
12 12
   names=`mt_jar_usage | tail -n +5 | sed -e 's/^[ \t]*//' | cut -d " " -f1 | sort`
13 13
   set -- $names
14  
-  while [ $# -gt 0 ]
  14
+  while [ $# -gt 3 ]
15 15
   do
16 16
     printf "  %-25s%-25s%-25s" "$1" "$2" "$3"
17 17
     echo
18 18
     shift 3
19 19
   done
  20
+  
  21
+  printf "  %-25s%-25s%-25s" "$1" "$2" "$3"
  22
+  echo
20 23
 }
21 24
 
22 25
 module_annotate_block doc usage <<EOF

0 notes on commit ecf62b2

Please sign in to comment.
Something went wrong with that request. Please try again.