diff options
author | 2021-02-12 15:24:38 +0100 | |
---|---|---|
committer | 2021-02-12 15:25:32 +0100 | |
commit | 382ec4f5de6d1bfb9a6b63973efecb3efbaebdd1 (patch) | |
tree | 0d7fe7f9ce7be1a1f9bbf5ca997ccc0393182ccb | |
parent | 2.4/init: Add a comment about altered pidfile in confd file (diff) | |
download | apache-382ec4f5de6d1bfb9a6b63973efecb3efbaebdd1.tar.gz apache-382ec4f5de6d1bfb9a6b63973efecb3efbaebdd1.tar.bz2 apache-382ec4f5de6d1bfb9a6b63973efecb3efbaebdd1.zip |
rolltarball.sh: Check for 'Commit:' to determine G_USER
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rwxr-xr-x | rolltarball.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |