From b883a03b574d38fbd675bff2b4cd543dd678ebf4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 23 Sep 2015 23:23:08 +0200 Subject: reproducible: dont remove the directory while we're in it --- bin/reproducible_build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index f1a25d09..6e1b922c 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -50,6 +50,7 @@ handle_race_condition() { if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi fi # cleanup + cd rm -r $TMPDIR || true if ! $BAD_LOCKFILE ; then rm -f $LOCKFILE ; fi exec /srv/jenkins/bin/abort.sh -- cgit v1.2.3-70-g09d2