From 9d28e45f96feca10da2e23d3d7104762079d5557 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 27 Apr 2017 15:51:26 +0200 Subject: reproducible lede+openwrt: disable cleanup to make lynsis happy Signed-off-by: Holger Levsen --- bin/reproducible_lede_common.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/reproducible_lede_common.sh') diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh index 3ed93dc9..09535e56 100644 --- a/bin/reproducible_lede_common.sh +++ b/bin/reproducible_lede_common.sh @@ -19,14 +19,14 @@ node_debug() { # only called direct on a remote build node 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 + echo "Not cleaning up to make lynxis happy. Please notify lynxis he must clean up the tempdir $1 on $(hostname)." + #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 + #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() { -- cgit v1.2.3-54-g00ecf