diff options
author | Werner Koch <wk@gnupg.org> | 2023-10-16 16:31:08 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-10-16 16:31:08 +0200 |
commit | 956b1e1c26aa1c7b253096af50be3400ace43e4c (patch) | |
tree | 4d92d48b2a29aae11f9863bb9ceaa48b4fc4cba6 /m4 | |
parent | gpg: Allow to specify seconds since Epoch beyond 2038. (diff) | |
download | gnupg2-956b1e1c26aa1c7b253096af50be3400ace43e4c.tar.xz gnupg2-956b1e1c26aa1c7b253096af50be3400ace43e4c.zip |
build: Extend autobuild diagnostics by the username
* m4/autobuild.m4 (AB_INIT): Add username.
--
The old autobuild diagnostics show up in build logs. What they are
missing is an information on the user who triggered a build. EMAIL is
a common thing to denote the actual user using a service account.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/autobuild.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/autobuild.m4 b/m4/autobuild.m4 index ceed46494..20086ae9f 100644 --- a/m4/autobuild.m4 +++ b/m4/autobuild.m4 @@ -23,6 +23,9 @@ AC_DEFUN([AB_INIT], if test "$hostname"; then AC_MSG_NOTICE([autobuild hostname... $hostname]) fi + if test "$EMAIL"; then + AC_MSG_NOTICE([autobuild username... $EMAIL]) + fi ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])]) date=`date +%Y%m%d-%H%M%S` if test "$?" != 0; then |