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

nickm at torproject.org nickm at torproject.org
Tue Jan 13 03:30:45 UTC 2015


commit a0b4c2f1bd0c5761fd82bdeb7ccfe00f9085d7ff
Author: Nick Mathewson <nickm at torproject.org>
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



More information about the tor-commits mailing list