git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugzilla 1217: Experimental Redis lookup
[users/jgh/exim.git]
/
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 3315b5ec15410ff08721ce2489c80f772f4fe0d0..2b542ad5d8b5b2a11756daff892b6ef6e0134d8c 100755
(executable)
--- a/
release-process/scripts/sign_exim_packages.sh
+++ b/
release-process/scripts/sign_exim_packages.sh
@@
-1,16
+1,14
@@
#!/bin/sh
#
#!/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.
# 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...
#
# 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
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
done