buildsystem: support 6 digit process ids

This commit is contained in:
MilhouseVH 2019-07-07 22:57:37 +01:00
parent ff8c463b31
commit 8380877cf5

View File

@ -1293,7 +1293,7 @@ pkg_lock_status() {
(
flock --exclusive 94
printf -v line "%s: <%05d> [%02d/%0*d] %-7s %-7s %-35s" \
printf -v line "%s: <%06d> [%02d/%0*d] %-7s %-7s %-35s" \
"$(date +%Y-%m-%d\ %H:%M:%S.%N)" $$ ${this_job} ${#MTMAXJOBS} ${PARALLEL_SEQ:-0} "${status}" "${task}" "${pkg}"
[ -n "${msg}" ] && line+=" (${msg})"