mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
build: Update getswdb version check to 2.2
* build-aux/getswdb.sh: Check for gnupg22_ver gnupg21_ver no longer exists.
This commit is contained in:
parent
bb2680a45a
commit
327fece0ae
@ -175,9 +175,9 @@ fi
|
||||
# to help detect rollback attacks.
|
||||
#
|
||||
if [ $skip_selfcheck = no ]; then
|
||||
gnupg_ver=$(awk '$1=="gnupg21_ver" {print $2;exit}' swdb.lst)
|
||||
gnupg_ver=$(awk '$1=="gnupg22_ver" {print $2;exit}' swdb.lst)
|
||||
if [ -z "$gnupg_ver" ]; then
|
||||
echo "GnuPG 2.1 version missing in swdb.lst!" >&2
|
||||
echo "GnuPG 2.2 version missing in swdb.lst!" >&2
|
||||
exit 1
|
||||
fi
|
||||
gnupg_ver_num=$(echo "$gnupg_ver" | cvtver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user