Subject: | Cleanup temporary directories |
See attached patch.
Regards,
Slaven
Subject: | 0001-cleanup-temporary-directory.patch |
From ba01e9948e701eabee6c4c1066a631d352a36048 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sat, 7 Nov 2009 11:32:35 +0100
Subject: [PATCH] cleanup temporary directory
---
scripts/git-cpan-import | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/git-cpan-import b/scripts/git-cpan-import
index 2d2bd01..79856ad 100755
--- a/scripts/git-cpan-import
+++ b/scripts/git-cpan-import
@@ -93,7 +93,7 @@ if ( $last_version and $opt{checkversion} ) {
# download the dist and extract into a temporary directory
-my $tmp_dir = tempdir;
+my $tmp_dir = tempdir( CLEANUP => 1 );
say "downloading $dist";
--
1.6.1