Browse Source

bin/build-packages: write user@hostname to log of failed builds

Erich Eckner 3 months ago
parent
commit
4f7d840ba3
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      bin/build-packages

+ 4
- 0
bin/build-packages View File

@@ -963,6 +963,10 @@ while [ "${count}" -ne 0 ] && \
963 963
         for log in *'.build-log'; do
964 964
           if [ -f "${log}" ]; then
965 965
             if ${upload_to_build_master}; then
966
+              printf '%s@%s\n' \
967
+                "$(whoami)" \
968
+                "$(hostname)" >> \
969
+                "${log}"
966 970
               gzip "${log}"
967 971
             else
968 972
               grep -HF '' "${log}"