diff options
author | 2021-02-12 15:37:34 +0100 | |
---|---|---|
committer | 2021-02-12 15:37:34 +0100 | |
commit | 8be92d55525425d8805677539221486e8f5e3437 (patch) | |
tree | f6ddff9d658d03f7a9f82b56fbb1e2886e1e811c | |
parent | 2.4/scripts/apache2-logrotate: handle systemd (diff) | |
download | apache-8be92d55525425d8805677539221486e8f5e3437.tar.gz apache-8be92d55525425d8805677539221486e8f5e3437.tar.bz2 apache-8be92d55525425d8805677539221486e8f5e3437.zip |
rolltarball.sh: Simplified G_USER detection
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rwxr-xr-x | rolltarball.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rolltarball.sh b/rolltarball.sh index 26ccb20..456d3d5 100755 --- a/rolltarball.sh +++ b/rolltarball.sh @@ -339,7 +339,7 @@ fi if [ -z "${G_USER}" ] then - G_USER="$(git log --pretty=fuller -1 | grep '^Commit:' | sed 's&.*<\([[:alnum:]\._-]\+\)@.*>&\1&')" + G_USER="$(git log --pretty=fuller -1 | sed -n '/^Commit:/s&.*<\([[:alnum:]\._-]\+\)@.*>&\1&p')" einfo "Detected Gentoo Developer: ${G_USER}" fi |