X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fgpg-verify-git-signature.sh;h=1f473368608e03b13a32d005212cbdbcd1260e04;hb=56864adf9a6062190e4b9bedc2944cb6a95f8014;hp=b26359e6ab8402aa458439176499ced5c8249027;hpb=52980f24cf898a614c39d3a3c6674ccd4622aee0;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."