diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-10-13 06:48:30 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-10-13 06:49:59 +0000 |
commit | d0b8158d6634f602ca864eea102d674f83d2531c (patch) | |
tree | aa91608afd38bcbd87fc98550ffa1553c47a8bee | |
parent | de30f24130ad92029bb6c932e4b315dfcd0f882e (diff) |
-rwxr-xr-x | documentation/tools/checkkey.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/tools/checkkey.sh b/documentation/tools/checkkey.sh index 0806139725..deb7cbd640 100755 --- a/documentation/tools/checkkey.sh +++ b/documentation/tools/checkkey.sh @@ -88,10 +88,10 @@ if echo "${id}" | egrep -q '^[0-9A-F]{16}$'; then elif echo "${id}" | egrep -q '^[0-9A-F]{8}$'; then id_type="keyid" set -- "${id}" $@ -elif echo "${id}" | egrep -iq '^[a-z][-0-9a-z_]*@([-0-9a-z]+\.)[-0-9a-z]+$'; then +elif echo "${id}" | egrep -iq '^[0-9a-z][-0-9a-z_]*@([-0-9a-z]+\.)[-0-9a-z]+$'; then id_type="email" email="${id}" -elif echo "${id}" | egrep -iq '^[a-z][-0-9a-z_]*$'; then +elif echo "${id}" | egrep -iq '^[0-9a-z][-0-9a-z_]*$'; then id_type="login" login="${id}" email="${id}@FreeBSD.org" |