index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-01 20:45:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-01 20:45:45 +0100 |
commit | 1d42012bf022f494cc72a570c6604de1db712854 (patch) | |
tree | da54f47345589a5c1f0a68c0fa2b11f4a4384e39 | |
parent | 9bfd32c38b6f46140263553cf33c12d3b5fe03ef (diff) |
-rwxr-xr-x | bin/why-dont-you | 4 |
diff --git a/bin/why-dont-you b/bin/why-dont-you index d1d528a..9656dfd 100755 --- a/bin/why-dont-you +++ b/bin/why-dont-you @@ -144,9 +144,9 @@ case "${action}" in while read -r sf; do printf '%s' "${sf}" if [ -f "${work_dir}/package-states/${sf}.testing" ]; then - printf ' (not tested yet)' + printf ' (not tested yet for %s days)' "$(( ($(date '+%s') - $(stat -c '%Y' "${work_dir}/package-states/${sf}.testing")) / 3600 / 24 ))" elif [ -f "${work_dir}/package-states/${sf}.done" ]; then - printf ' (not unstaged yet)' + printf ' (not unstaged yet for %s days)' "$(( ($(date '+%s') - $(stat -c '%Y' "${work_dir}/package-states/${sf}.done")) / 3600 / 24 ))" elif tr ' ' '.' < \ "${work_dir}/build-list" | \ grep -qxF "${sf}"; then |