Add cleanup

This commit is contained in:
Dirk Wetter
2026-10-16 19:34:47 +02:00
parent 0ed8d49692
commit 13111ef2b0
+2 -1
View File
@@ -6,7 +6,8 @@
# This file generates the file etc/ca_hashes.txt from the (root)certificate # This file generates the file etc/ca_hashes.txt from the (root)certificate
# Bundles in etc (etc/*.pem) # Bundles in etc (etc/*.pem)
TEMPDIR="/tmp" TEMPDIR=$(mktemp -d)
trap 'rm -rf "$TEMPDIR"' EXIT
# Check if we are in the right directory # Check if we are in the right directory
if [[ ! -e etc ]]; then if [[ ! -e etc ]]; then