GPGKEY may already exist in the environment. In that case, just redefine it adding "-u"
Signed-off-by: Andres Gomez <[email protected]> Cc: Emil Velikov <[email protected]> Cc: Peter Hutterer <[email protected]> --- release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.sh b/release.sh index f976f94..e5e699d 100755 --- a/release.sh +++ b/release.sh @@ -808,6 +808,11 @@ if [ "x$GPG" = "x" ] ; then fi fi +# Redefine GPGKEY if needed +if [ "x$GPGKEY" != "x" ] ; then + GPGKEY="-u $GPGKEY" +fi + # Set the default make tarball creation command MAKE_DIST_CMD=distcheck -- 2.11.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
