aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-04-12 06:56:00 +0000
committerAndre Heinecke <[email protected]>2018-04-12 06:56:00 +0000
commit327fece0aed2c9974659c72304f9fd1f461d460c (patch)
treeb43ce31430f901d4fce36f9e0b543c32250e0de1
parentpo: Update Japanese translation. (diff)
downloadgnupg-327fece0aed2c9974659c72304f9fd1f461d460c.tar.gz
gnupg-327fece0aed2c9974659c72304f9fd1f461d460c.zip
build: Update getswdb version check to 2.2
* build-aux/getswdb.sh: Check for gnupg22_ver gnupg21_ver no longer exists.
-rwxr-xr-xbuild-aux/getswdb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/getswdb.sh b/build-aux/getswdb.sh
index 83ecdb2f3..cd419f2bd 100755
--- a/build-aux/getswdb.sh
+++ b/build-aux/getswdb.sh
@@ -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)