Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix shellcheck warnings
[releng/global-jjb.git]
/
shell
/
gpg-verify-git-signature.sh
diff --git
a/shell/gpg-verify-git-signature.sh
b/shell/gpg-verify-git-signature.sh
index
b26359e
..
1f47336
100644
(file)
--- a/
shell/gpg-verify-git-signature.sh
+++ b/
shell/gpg-verify-git-signature.sh
@@
-10,7
+10,7
@@
##############################################################################
echo "---> gpg-verify-git-signature.sh"
##############################################################################
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."
echo "Git commit is GPG signed."
else
echo "WARNING: GPG signature missing for the commit."