GPGKEY may already exist in the environment. In that case, just unset it. v2: unsetting is safer than redefining to quietly use a potentially wrong key stored in the variable (Peter).
Signed-off-by: Andres Gomez <ago...@igalia.com> Cc: Emil Velikov <emil.veli...@collabora.com> Cc: Peter Hutterer <peter.hutte...@who-t.net> --- release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.sh b/release.sh index f976f94..b8a0aaf 100755 --- a/release.sh +++ b/release.sh @@ -808,6 +808,11 @@ if [ "x$GPG" = "x" ] ; then fi fi +# Unset GPGKEY if needed +if [ ! -z ${GPGKEY+x} ] ; then + unset GPGKEY +fi + # Set the default make tarball creation command MAKE_DIST_CMD=distcheck -- 2.11.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel