From 6277bcb4078fe3cdcf6a8dd1a3b79db417cf0b61 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Fri, 4 Oct 2019 11:23:58 +0000 Subject: [PATCH] Remove the temporary directory on exit. --- gebuilder/tests/20_test_stemgentoo_initialize.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gebuilder/tests/20_test_stemgentoo_initialize.sh b/gebuilder/tests/20_test_stemgentoo_initialize.sh index a6aba06..35ced63 100755 --- a/gebuilder/tests/20_test_stemgentoo_initialize.sh +++ b/gebuilder/tests/20_test_stemgentoo_initialize.sh @@ -1,6 +1,7 @@ #!/bin/bash tmpdir="$(mktemp -d)" +on_exit "rm -rf \"${tmpdir}\"" pushd "${tmpdir}" "$GEBUILDER_ENTRY" stemgentoo initialize if [ "$?" -eq 0 ]