summaryrefslogtreecommitdiff
path: root/dh_elpa
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-07-17 06:58:34 +0200
committerDavid Bremner <david@tethera.net>2015-07-17 06:58:34 +0200
commitb921f829b88d325e5d9df09295eb30e45d153d18 (patch)
treed346e492f77668fd510b50ec8818f0744dd3a98d /dh_elpa
parent5c3ff99cb2db4058deab7af293a6212b70a54ea4 (diff)
clean up temporary directory
The tarball creation is reasonably well tested at this point.
Diffstat (limited to 'dh_elpa')
-rwxr-xr-xdh_elpa3
1 files changed, 1 insertions, 2 deletions
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";