X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/91bde4a0253d38118dc227e184b793d476a013ce..b84580f1e38405e0a94f8d8f41df0cdaf8d0115f:/release-process/scripts/mk_exim_release?ds=sidebyside diff --git a/release-process/scripts/mk_exim_release b/release-process/scripts/mk_exim_release index b07f088c8..f6cd33c7e 100755 --- a/release-process/scripts/mk_exim_release +++ b/release-process/scripts/mk_exim_release @@ -235,6 +235,7 @@ sub move_text_docs_into_pkg { # move generated documents from docbook stuff foreach my $file (qw/exim.8 spec.txt filter.txt/) { + die "Empty file \"$file\"\n" if -z File::Spec->catfile( $old_docdir, $file ); move( File::Spec->catfile( $old_docdir, $file ), File::Spec->catfile( $new_docdir, $file ) ); } @@ -418,6 +419,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);