[tor-commits] [tor/master] Fix SC2064
nickm at torproject.org
nickm at torproject.org
Tue Feb 19 16:30:32 UTC 2019
commit 3ca1d585619d56cb424c9916cd889d1ff9f5b857
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date: Fri Feb 1 21:26:29 2019 +0200
Fix SC2064
---
src/test/test_keygen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh
index cc3839783..849d159af 100755
--- a/src/test/test_keygen.sh
+++ b/src/test/test_keygen.sh
@@ -77,7 +77,7 @@ if [ ! -d "$DATA_DIR" ]; then
echo "Failure: mktemp invocation result doesn't point to directory" >&2
exit 3
fi
-trap "rm -rf '$DATA_DIR'" 0
+trap 'rm -rf "$DATA_DIR"' 0
# Use an absolute path for this or Tor will complain
DATA_DIR=$(cd "${DATA_DIR}" && pwd)
More information about the tor-commits
mailing list