diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-03-03 19:49:09 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-03-03 19:49:09 +0100 |
commit | 7b60dd772ec3f83c05ac84d1cd098a29a9d246a3 (patch) | |
tree | b1b9f9c47ee7a221fe82be10111ab30e4c867484 | |
parent | c7d35917a30da5b7fbcc1e09a6adc86964c1e825 (diff) | |
download | jenkins.debian.net-7b60dd772ec3f83c05ac84d1cd098a29a9d246a3.tar.xz |
reproducible lede+openwrt: reenable node cleanup after build
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r-- | bin/reproducible_lede_common.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh index c4143931..3ed93dc9 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@layer-acht.org> +# Copyright 2014-2017 Holger Levsen <holger@layer-acht.org> # © 2015 Reiner Herrmann <reiner@reiner-h.de> # 2016 Alexander Couzens <lynxis@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() { |