summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_arch_pkg.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 16:59:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 16:59:18 +0200
commitc41d429a67daa229d0b53a857574da26a682f015 (patch)
tree02a632641affd38711217cdd0cb6c7550014fa57 /bin/reproducible_build_arch_pkg.sh
parentf8b00b162f25a93d5f07059dd4a10d33ce9ed0e8 (diff)
downloadjenkins.debian.net-c41d429a67daa229d0b53a857574da26a682f015.tar.xz
reproducible arch: cleanup cleanup_all()
Diffstat (limited to 'bin/reproducible_build_arch_pkg.sh')
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh3
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