From 19237c718761a66ace734b8a797ff5aa53f26f13 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Tue, 17 Jul 2012 21:26:23 -0500 Subject: [PATCH] Quote EXIT cleanup trap properly in test-meta.sh. Signed-off-by: Rob Browning Reviewed-by: Zoran Zaric --- t/test-meta.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test-meta.sh b/t/test-meta.sh index ba7e218..55c363d 100755 --- a/t/test-meta.sh +++ b/t/test-meta.sh @@ -50,7 +50,7 @@ compare-trees() set -e set -o pipefail tmpfile="$(mktemp)" - trap "rm -rf ${tmpfile}" EXIT + trap "rm -rf '${tmpfile}'" EXIT rsync -ni -aHAX "$1" "$2" > "${tmpfile}" if test $(wc -l < "${tmpfile}") != 0; then echo "ERROR: detected differences between $1 and $2" -- 2.39.2