[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: dont remove the directory while we're in it
Holger Levsen
holger at moszumanska.debian.org
Wed Sep 23 21:23:27 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 b883a03b574d38fbd675bff2b4cd543dd678ebf4
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Sep 23 23:23:08 2015 +0200
reproducible: dont remove the directory while we're in it
---
bin/reproducible_build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index f1a25d0..6e1b922 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -50,6 +50,7 @@ handle_race_condition() {
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
fi
# cleanup
+ cd
rm -r $TMPDIR || true
if ! $BAD_LOCKFILE ; then rm -f $LOCKFILE ; fi
exec /srv/jenkins/bin/abort.sh
--
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