Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-03 13:48:56 +0200
committerErich Eckner <git@eckner.net>2019-07-03 13:48:56 +0200
commit4f7d840ba34d82f928e41cef751442ac452788da (patch)
tree797114e9d93b228f9a3c9fb111d1e5b9977e7bb7 /bin
parent5adcdd39b19bd0c2abafe597983766323eb967f5 (diff)
bin/build-packages: write user@hostname to log of failed builds
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages4
1 files changed, 4 insertions, 0 deletions
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}"