From 382ec4f5de6d1bfb9a6b63973efecb3efbaebdd1 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 12 Feb 2021 15:24:38 +0100 Subject: rolltarball.sh: Check for 'Commit:' to determine G_USER Signed-off-by: Lars Wendler --- rolltarball.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rolltarball.sh') diff --git a/rolltarball.sh b/rolltarball.sh index 1962c00..26ccb20 100755 --- a/rolltarball.sh +++ b/rolltarball.sh @@ -22,7 +22,7 @@ # Please increase version number before each commit which includes changes to # this script. -MYVERSION='2.0' +MYVERSION='2.1' # ********** Begin functions ********** @@ -339,7 +339,7 @@ fi if [ -z "${G_USER}" ] then - G_USER="$(git log -1 | grep ^Author | sed 's&.*<\([[:alnum:]\._-]\+\)@.*>&\1&')" + G_USER="$(git log --pretty=fuller -1 | grep '^Commit:' | sed 's&.*<\([[:alnum:]\._-]\+\)@.*>&\1&')" einfo "Detected Gentoo Developer: ${G_USER}" fi -- cgit v1.2.3-65-gdbad