X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fgpg-verify-git-signature.sh;h=1f473368608e03b13a32d005212cbdbcd1260e04;hb=21fba96f6d854655d3b0b874386d67673c04cf7b;hp=b26359e6ab8402aa458439176499ced5c8249027;hpb=851b0b6d0cfe84e986548fd596a9b2f18413fefd;p=releng%2Fglobal-jjb.git diff --git a/shell/gpg-verify-git-signature.sh b/shell/gpg-verify-git-signature.sh index b26359e6..1f473368 100644 --- a/shell/gpg-verify-git-signature.sh +++ b/shell/gpg-verify-git-signature.sh @@ -10,7 +10,7 @@ ############################################################################## echo "---> gpg-verify-git-signature.sh" -if git log --show-signature -1 | egrep -q 'gpg: Signature made.*key ID'; then +if git log --show-signature -1 | grep -E -q 'gpg: Signature made.*key ID'; then echo "Git commit is GPG signed." else echo "WARNING: GPG signature missing for the commit."