X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/8a483da652e021e51ee3f4dd83cd34e53c986b35..f0033d1eda2bf74747bd1034a404a71b1ce7c2ea:/release-process/scripts/sign_exim_packages.sh diff --git a/release-process/scripts/sign_exim_packages.sh b/release-process/scripts/sign_exim_packages.sh index 3315b5ec1..2b542ad5d 100755 --- a/release-process/scripts/sign_exim_packages.sh +++ b/release-process/scripts/sign_exim_packages.sh @@ -1,16 +1,14 @@ #!/bin/sh # -# $Cambridge: exim/release-process/scripts/sign_exim_packages.sh,v 1.1 2010/06/03 12:00:38 nm4 Exp $ -# # gpg signs the package set. -# key used is currently coded into the script +# key used set from env var EXIM_KEY, script defaults that to Nigel's. # woe betide the poor sod who does not use a gpg agent, so has # to enter their password for every file... # -exim_key='nigel@exim.org' +: ${EXIM_KEY:=nigel@exim.org} for file in *.tar.gz *.tar.bz2 do - gpg --local-user ${exim_key} --detach-sig --armor $file + gpg --local-user ${EXIM_KEY} --detach-sig --armor $file done