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

[tor-commits] [chutney/master] Avoid using "unset" now that we have -o nounset enabled.



commit 830566f3b49e5fcd0251ee7aabcb07be7651408f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Jun 24 14:06:11 2020 -0400

    Avoid using "unset" now that we have -o nounset enabled.
---
 tools/test-network.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test-network.sh b/tools/test-network.sh
index 4cec921..c221db4 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -267,7 +267,7 @@ if [ ! -d "${TOR_DIR:-}" ]; then
         export TOR_DIR="$PWD/../tor"
     else
         $ECHO "$myname: no \$TOR_DIR, chutney will use \$CHUTNEY_TOR and \$CHUTNEY_TOR_GENCERT as tor binary paths, or search \$PATH for tor binary names"
-        unset TOR_DIR
+        export TOR_DIR=""
     fi
 fi
 



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