Allow relative file names in .include lines (Closes 1971)
[exim.git] / release-process / scripts / sign_exim_packages
CommitLineData
8a483da6
NM
1#!/bin/sh
2#
a7f2e07b 3# gpg signs all *.tar.* files under a given directory
0b4f0dad 4# key used set from env var EXIM_KEY, script defaults that to Nigel's.
8a483da6
NM
5# woe betide the poor sod who does not use a gpg agent, so has
6# to enter their password for every file...
7#
0b4f0dad 8
a7f2e07b
HSHR
9dir=${1:?start directory}
10
0b4f0dad 11: ${EXIM_KEY:=nigel@exim.org}
8a483da6 12
a7f2e07b
HSHR
13find "$dir" \
14 -type f -name '*.tar.*' \
15 -exec gpg --local-user ${EXIM_KEY} --detach-sig --armor {} \;