[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible arch: cleanup cleanup_all()

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 15:02:23 UTC 2015


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c41d429a67daa229d0b53a857574da26a682f015
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 16 16:59:18 2015 +0200

    reproducible arch: cleanup cleanup_all()
---
 bin/reproducible_build_arch_pkg.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 7216308..8ee5901 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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list