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 (parent:
09b80b4
)
Fix build script. Bug 1646
author
Gedalya
<gedalya@gedalya.net>
Sat, 20 Jun 2015 13:33:14 +0000
(14:33 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 20 Jun 2015 14:22:15 +0000
(15:22 +0100)
release-process/scripts/mk_exim_release.pl
patch
|
blob
|
history
diff --git
a/release-process/scripts/mk_exim_release.pl
b/release-process/scripts/mk_exim_release.pl
index a68d1e66a07c40a39ee697808f1ccdff6a91881b..995720e2c188110fad9afd69100bd4e04660844b 100755
(executable)
--- a/
release-process/scripts/mk_exim_release.pl
+++ b/
release-process/scripts/mk_exim_release.pl
@@
-117,7
+117,7
@@
sub make_version_script {
}
my $srcdir = File::Spec->catdir( $context->{release_tree}, 'src', 'src' );
}
my $srcdir = File::Spec->catdir( $context->{release_tree}, 'src', 'src' );
- chdir $srcdir or die "chdir $srcdir: $\n";
+ chdir $srcdir or die "chdir $srcdir: $
!
\n";
if ( -f "version.sh" ) {
print( "WARNING: version.sh already exists - leaving it in place\n" );
if ( -f "version.sh" ) {
print( "WARNING: version.sh already exists - leaving it in place\n" );
@@
-297,6
+297,7
@@
sub do_cleanup {
my $context = shift;
print "Cleaning up\n" if ($verbose);
my $context = shift;
print "Cleaning up\n" if ($verbose);
+ chdir( $context->{directory} ) || die;
rmtree( $context->{release_tree}, { verbose => $debug } );
rmtree( $context->{docbook}, { verbose => $debug } );
rmtree( $context->{pkgdirs}, { verbose => $debug } );
rmtree( $context->{release_tree}, { verbose => $debug } );
rmtree( $context->{docbook}, { verbose => $debug } );
rmtree( $context->{pkgdirs}, { verbose => $debug } );