]> Git repositories of Nishi - koakuma.git/commitdiff
add more info
authorNishi <nishi@nishi.boats>
Wed, 2 Oct 2024 09:44:50 +0000 (09:44 +0000)
committerNishi <nishi@nishi.boats>
Wed, 2 Oct 2024 09:44:50 +0000 (09:44 +0000)
git-svn-id: file:///raid/svn-personal/koakuma/trunk@37 219d0f9c-2d94-d447-890a-813e76b88fe9

koakuma.cgi.in

index c1087e4f769812c41c7fe5f5449443899e371d6b..dcf898dcb4c46e8fdba84be5587dcb9b316336da 100644 (file)
@@ -694,7 +694,8 @@ if { [catch {
                                        tputs   "               <td>"
                                        if { [file exists "@@PREFIX@@/lib/koakuma/db/data/$projname/successbuild"] } {
                                                set fid [open "@@PREFIX@@/lib/koakuma/db/data/$projname/successbuild" "r"]
-                                               tputs "[format %.2f [expr [gets $fid] / [llength $builds] * 100]]%"
+                                               set sucbui "[gets $fid]"
+                                               tputs "[format %.2f [expr $sucbui / [llength $builds] * 100]]% ($sucbui/[llength $builds])"
                                                close $fid
                                        }
                                        tputs   "                       "