]> git.donarmstrong.com Git - bugscan.git/blobdiff - dohtml
name parameters to make code easier to understand
[bugscan.git] / dohtml
diff --git a/dohtml b/dohtml
index 07e5bb3809cb7c070692e071ebad04d1a3418dc8..cbef6c091443b518a7bee465a0ccab2c9dc6f07f 100755 (executable)
--- a/dohtml
+++ b/dohtml
@@ -98,6 +98,8 @@ EOF
 }
 
 makemainpage() {
+       local   title="$1"      # Title of page
+       local   time="$2"       # Date
 
        header "$title" "$time"
 
@@ -186,6 +188,6 @@ makepage "" "$title" "$htmldir/other/stable.html" "$time" "-b"
 makepage "" "$title" "$htmldir/other/testing.html" "$time" "-t"
 makepage "" "$title" "$htmldir/other/pseudo.html" "$time" "pseudo"
 
-makemainpage > $htmldir/index.html.new
+makemainpage "$title" "$time" > $htmldir/index.html.new
 mv -f $htmldir/index.html.new $htmldir/index.html