[or-cvs] [tor/master] Remove bashism from torify script

Nick Mathewson nickm at seul.org
Tue Jun 16 19:17:56 UTC 2009


Author: Marcus Griep <marcus at griep.us>
Date: Fri, 12 Jun 2009 12:16:53 -0400
Subject: Remove bashism from torify script
Commit: b871cdf64bc6ee3956fbec8b611588f417eae52f

Signed-off-by: Marcus Griep <marcus at griep.us>
---
 contrib/torify.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/torify.in b/contrib/torify.in
index 6b1e440..5bf7d4d 100755
--- a/contrib/torify.in
+++ b/contrib/torify.in
@@ -52,7 +52,7 @@ then
 	shift 1
 fi
 
-if [ "$PROG" == "$TSOCKS" ]
+if [ "$PROG" = "$TSOCKS" ]
 then
 	# Define our tsocks config file
 	TSOCKS_CONF_FILE="/etc/tor/tor-tsocks.conf"
@@ -70,7 +70,7 @@ then
 		exit 1
 	fi
 fi
-if [ "$PROG" == "$TORSOCKS" ]
+if [ "$PROG" = "$TORSOCKS" ]
 then
 	exec torsocks "$@"
 fi
-- 
1.5.6.5



More information about the tor-commits mailing list