From b921f829b88d325e5d9df09295eb30e45d153d18 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 17 Jul 2015 06:58:34 +0200 Subject: clean up temporary directory The tarball creation is reasonably well tested at this point. --- dh_elpa | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dh_elpa') diff --git a/dh_elpa b/dh_elpa index 74ddcb5..93abd54 100755 --- a/dh_elpa +++ b/dh_elpa @@ -88,8 +88,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (scalar(@files) == 1) { $pkg_file=$files[0]; } else { - # TODO: add CLEANUP when somewhat debugged. - my $tempdir = tempdir(); + my $tempdir = tempdir(CLEANUP => 1); my $version = $dh{VERSION} or die "version not found!"; $version =~ s/-[^-]+//; # strip Debian version my $pkg_dir = "$elpapkg-$version"; -- cgit v1.2.3