From: Rob Browning Date: Wed, 18 Jul 2012 02:26:23 +0000 (-0500) Subject: Quote EXIT cleanup trap properly in test-meta.sh. X-Git-Tag: bup-0.25-rc2~107 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=19237c718761a66ace734b8a797ff5aa53f26f13;p=bup.git Quote EXIT cleanup trap properly in test-meta.sh. Signed-off-by: Rob Browning Reviewed-by: Zoran Zaric --- 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"