git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
25af913
)
Abort release process if generated .txt empty
author
Phil Pennock
<pdp@exim.org>
Tue, 31 Jan 2017 03:57:52 +0000
(22:57 -0500)
committer
Phil Pennock
<pdp@exim.org>
Tue, 31 Jan 2017 03:57:52 +0000
(22:57 -0500)
release-process/scripts/mk_exim_release
patch
|
blob
|
history
diff --git
a/release-process/scripts/mk_exim_release
b/release-process/scripts/mk_exim_release
index 17b034e4eba356972f47d256f0e728089bc5ca2e..f6cd33c7e69cee3c5284858563c86d65dd693273 100755
(executable)
--- 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 ) );
}