Commit 4b990955 authored by Mattia Rizzolo's avatar Mattia Rizzolo Committed by Holger Levsen

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's avatarMattia Rizzolo <mattia@debian.org>
Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent ab0508b0
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment