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

[tor-commits] [tor/master] On jessie, we need a =, not a ==



commit a0b4c2f1bd0c5761fd82bdeb7ccfe00f9085d7ff
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Jan 12 22:30:40 2015 -0500

    On jessie, we need a =, not a ==
---
 src/test/zero_length_keys.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/zero_length_keys.sh b/src/test/zero_length_keys.sh
index eea1f35..3a99ca1 100755
--- a/src/test/zero_length_keys.sh
+++ b/src/test/zero_length_keys.sh
@@ -68,7 +68,7 @@ if [ "$1" != "-e" ]; then
 fi
 
 # create empty files for -z
-if [ "$1" == "-z" ]; then
+if [ "$1" = "-z" ]; then
   FILE_DESC="regenerates zero-length"
   touch "$DATA_DIR"/keys/secret_id_key || exit -1
   touch "$DATA_DIR"/keys/secret_onion_key || exit -1

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