diff options
author | Phil Pennock <pdp@exim.org> | 2017-01-30 22:44:45 -0500 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2017-01-30 22:44:45 -0500 |
commit | 25af913afa0c279dac709ea6cf7f6a0231d655f8 (patch) | |
tree | 17ef73897ac7bd7a70537f12b0a88b5d1e1f436e /release-process/scripts | |
parent | d4e5e70b6c47bc30f9d6ce8300326ffc9fde79f1 (diff) |
Open umask before creating release packages
Diffstat (limited to 'release-process/scripts')
-rwxr-xr-x | release-process/scripts/mk_exim_release | 1 | ||||
-rwxr-xr-x | release-process/scripts/sign_exim_packages | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/release-process/scripts/mk_exim_release b/release-process/scripts/mk_exim_release index b07f088c8..17b034e4e 100755 --- a/release-process/scripts/mk_exim_release +++ b/release-process/scripts/mk_exim_release @@ -418,6 +418,7 @@ MAIN: { 'web!' => \$context->{web}, ) and @ARGV == 1 or pod2usage; + umask(022); get_and_check_version( shift, $context ); fix_paths_tar($context); $context->{tag} = build_tag($context); diff --git a/release-process/scripts/sign_exim_packages b/release-process/scripts/sign_exim_packages index a1d6282bb..4ed614f19 100755 --- a/release-process/scripts/sign_exim_packages +++ b/release-process/scripts/sign_exim_packages @@ -10,6 +10,8 @@ dir=${1:?start directory} : ${EXIM_KEY:=nigel@exim.org} +umask 022 + find "$dir" \ -type f -name '*.tar.*' \ -exec gpg --local-user ${EXIM_KEY} --detach-sig --armor {} \; |