index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-master-status | 3 |
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 |