diff options
author | Andres Gomez <agomez@igalia.com> | 2017-04-20 10:38:03 +0300 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-04-21 09:45:16 +1000 |
commit | 5e213276183aae1bb8d192d74322ac0990c388ae (patch) | |
tree | 841614729d61ef580dfede8d507d1d5ba356b9f4 | |
parent | ac00c5e98301847462f2a6c8502ab434dfde70e7 (diff) |
release.sh: unconditionally unset GPGKEY
GPGKEY may already exist in the environment. Unconditionally unset it
to avoid any problem.
v2: unsetting is safer than redefining to quietly use a potentially
wrong key stored in the variable (Peter).
v3: Simplify by unconditionally unsetting GPGKEY (Peter).
Signed-off-by: Andres Gomez <agomez@igalia.com>
Cc: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-x | release.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -808,6 +808,9 @@ if [ "x$GPG" = "x" ] ; then fi fi +# Avoid problems if GPGKEY is already set in the environment +unset GPGKEY + # Set the default make tarball creation command MAKE_DIST_CMD=distcheck |