From 491b88db9ef674ce212bb52bcf389860b37f413f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 2 Jun 2017 13:42:29 +0200 Subject: bin/build-master-status: more statistics --- bin/build-master-status | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/build-master-status b/bin/build-master-status index 11f3957..62ffd9a 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -28,3 +28,6 @@ printf 'There are %d broken packages.\n' "${broken}" if [ $[${broken}+${staging}] -ne 0 ]; then LANG=C printf '%.1f%% of all packages are broken.\n' "$(bc <<< "scale=10; 100*${broken}/(${broken}+${staging})")" fi +if [ $[${staging}+${tasks}-${broken}] -ne 0 ]; then + LANG=C printf '%.1f%% of the planned work has been done.\n' "$(bc <<< "scale=10; 100*${staging}/(${staging}+${tasks}-${broken})")" +fi -- cgit v1.2.3-54-g00ecf