[Qa-jenkins-scm] [jenkins.debian.net] 02/04: reproducible debian: _build.sh: avoid removing the temporary directory twice
Holger Levsen
holger at layer-acht.org
Sat Sep 9 12:26:42 UTC 2017
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 4b9909555c6be1cbcb17c109d94d37ac5e0dbc28
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Sep 8 10:54:15 2017 +0200
reproducible debian: _build.sh: avoid removing the temporary directory twice
the cleanup function is trapped at the exit, so calling `exit` will
already cleanup stuff.
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build.sh | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 96e876e..9264163 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -66,9 +66,6 @@ handle_race_condition() {
SAVE_ARTIFACTS=0
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
fi
- # cleanup
- cd
- rm -r $TMPDIR || true
exit 0
}
--
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