From 4b9909555c6be1cbcb17c109d94d37ac5e0dbc28 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 8 Sep 2017 10:54:15 +0200 Subject: 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 Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 96e876e5..92641635 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 } -- cgit v1.2.3-54-g00ecf