From c41d429a67daa229d0b53a857574da26a682f015 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 16 Oct 2015 16:59:18 +0200 Subject: reproducible arch: cleanup cleanup_all() --- bin/reproducible_build_arch_pkg.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh index 72163089..8ee59012 100755 --- a/bin/reproducible_build_arch_pkg.sh +++ b/bin/reproducible_build_arch_pkg.sh @@ -10,6 +10,7 @@ common_init "$@" set -e cleanup_all() { + cd rm $TMPDIR -r echo "$(date -u) - $TMPDIR deleted." } @@ -134,7 +135,7 @@ SRCPACKAGE=sudo build_rebuild #call_diffoscope -cd .. +cd cleanup_all trap - INT TERM EXIT -- cgit v1.2.3-70-g09d2