diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-16 16:59:18 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-16 16:59:18 +0200 |
commit | c41d429a67daa229d0b53a857574da26a682f015 (patch) | |
tree | 02a632641affd38711217cdd0cb6c7550014fa57 | |
parent | f8b00b162f25a93d5f07059dd4a10d33ce9ed0e8 (diff) | |
download | jenkins.debian.net-c41d429a67daa229d0b53a857574da26a682f015.tar.xz |
reproducible arch: cleanup cleanup_all()
-rwxr-xr-x | bin/reproducible_build_arch_pkg.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |