[med-svn] [subread] 02/14: d/tests/subread-tests: Cleanup TMPDIR

Alex Mestiashvili malex-guest at moszumanska.debian.org
Sat Apr 23 09:38:34 UTC 2016


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

malex-guest pushed a commit to branch master
in repository subread.

commit 5e128f57cd199e839e8d110981542f802dff9596
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Wed Mar 23 14:58:01 2016 +0100

    d/tests/subread-tests: Cleanup TMPDIR
---
 debian/tests/subread-tests | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/subread-tests b/debian/tests/subread-tests
index da23b0c..982bd45 100755
--- a/debian/tests/subread-tests
+++ b/debian/tests/subread-tests
@@ -11,6 +11,7 @@ examplesdir=/usr/share/doc/$pkg/examples
 if [ $# -eq 0 ]
 then
     TMPDIR=$(mktemp -d)
+	trap "rm -rf $TMPDIR" 0 INT QUIT ABRT PIPE TERM
     tar -xf ${examplesdir}/test.tar.xz -C $TMPDIR
     WORKDIR=${TMPDIR}/test
 else

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



More information about the debian-med-commit mailing list