[med-svn] [prank] 01/02: Remove temp dir

Andreas Tille tille at debian.org
Thu Mar 23 07:48:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository prank.

commit 8a2edd579d185aec96035a84de66bec6878d07d6
Author: Andreas Tille <tille at debian.org>
Date:   Thu Mar 23 08:38:16 2017 +0100

    Remove temp dir
---
 debian/tests/run-unit-test | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index e8aa21d..9e027e8 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -5,6 +5,7 @@ pkg="prank"
 
 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
   AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 
 cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/prank.git



More information about the debian-med-commit mailing list