index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-02 13:42:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-02 13:42:29 +0200 |
commit | 491b88db9ef674ce212bb52bcf389860b37f413f (patch) | |
tree | ad2ef429d0bc48b5b7f23fa131384208b4e71818 /bin | |
parent | 587773ab3a7df4c8a24296df2decd25c59e657b9 (diff) |
-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 |