[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible lede+openwrt: reenable node cleanup after build
Holger Levsen
holger at layer-acht.org
Fri Mar 3 18:49:29 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 7b60dd772ec3f83c05ac84d1cd098a29a9d246a3
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Mar 3 19:49:09 2017 +0100
reproducible lede+openwrt: reenable node cleanup after build
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_lede_common.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index c414393..3ed93dc 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2014-2016 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2017 Holger Levsen <holger at layer-acht.org>
# © 2015 Reiner Herrmann <reiner at reiner-h.de>
# 2016 Alexander Couzens <lynxis at fe80.eu>
# released under the GPLv=2
@@ -20,13 +20,13 @@ node_debug() {
node_cleanup_tmpdirs() {
export TMPDIR=$1
echo "Not cleaning up to make lynxis happy. Please notify lynxis he must clean up the tempdir $1"
-# cd
-# # (very simple) check we are deleting the right stuff
-# if [ "${TMPDIR:0:26}" != "/srv/reproducible-results/" ] || [ ${#TMPDIR} -le 26 ] ; then
-# echo "Something very strange with \$TMPDIR=$TMPDIR exiting instead of doing cleanup."
-# exit 1
-# fi
-# rm -rf $TMPDIR
+ cd
+ # (very simple) check we are deleting the right stuff
+ if [ "${TMPDIR:0:26}" != "/srv/reproducible-results/" ] || [ ${#TMPDIR} -le 26 ] ; then
+ echo "Something very strange with \$TMPDIR=$TMPDIR exiting instead of doing cleanup."
+ exit 1
+ fi
+ rm -rf $TMPDIR
}
node_create_tmpdirs() {
--
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