summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'verify-digests.sh')
-rwxr-xr-xverify-digests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/verify-digests.sh b/verify-digests.sh
index bf39a87..bd0cfa8 100755
--- a/verify-digests.sh
+++ b/verify-digests.sh
@@ -100,7 +100,7 @@ T=$(date -u +%Y%m%dT%H%M%SZ)
tmp1=$(mktemp --tmpdir)
tmp2=$(mktemp --tmpdir)
failures=$(mktemp --tmpdir gentoo-failures.$T.XXXXXXXXXX)
-trap "rm -f $tmp1 $tmp2" SIGINT SIGTERM
+trap 'rm -f "${tmp1}"" "${tmp2}"' SIGINT SIGTERM EXIT
# Now check them
failed_digests=()