[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix SC2064



commit 3ca1d585619d56cb424c9916cd889d1ff9f5b857
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits