From 4f7d840ba34d82f928e41cef751442ac452788da Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 3 Jul 2019 13:48:56 +0200 Subject: bin/build-packages: write user@hostname to log of failed builds --- bin/build-packages | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index 119c593..6071589 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -963,6 +963,10 @@ while [ "${count}" -ne 0 ] && \ for log in *'.build-log'; do if [ -f "${log}" ]; then if ${upload_to_build_master}; then + printf '%s@%s\n' \ + "$(whoami)" \ + "$(hostname)" >> \ + "${log}" gzip "${log}" else grep -HF '' "${log}" -- cgit v1.2.3-70-g09d2