Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status3
1 files changed, 3 insertions, 0 deletions
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