From: Heiko Schlittermann (HS12-RIPE) Date: Tue, 28 Sep 2021 08:24:46 +0000 (+0200) Subject: Release process: keep temp directory (fix --no-cleanup) X-Git-Tag: exim-4.95^0 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/fb62e7a12be6593a5432fba4a9e4468c34feef5c Release process: keep temp directory (fix --no-cleanup) --- diff --git a/release-process/scripts/mk_exim_release b/release-process/scripts/mk_exim_release index a4111e566..71a39c92b 100755 --- a/release-process/scripts/mk_exim_release +++ b/release-process/scripts/mk_exim_release @@ -162,7 +162,9 @@ package Context { my $workspace = $context->{workspace}; if (not defined $workspace) { - $workspace = $context->{workspace} = File::Temp->newdir(File::Spec->tmpdir . '/exim-packaging-XXXX'); + $workspace = $context->{workspace} = File::Temp->newdir( + TEMPLATE => File::Spec->tmpdir . '/exim-packaging-XXXX', + CLEANUP => $context->{cleanup}); } else { # ensure the working directory is not in place