From: Marcus Griep Date: Fri, 12 Jun 2009 16:16:53 +0000 (-0400) Subject: Remove bashism from torify script X-Git-Tag: tor-0.2.2.1-alpha~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b871cdf64bc6ee3956fbec8b611588f417eae52f;p=thirdparty%2Ftor.git Remove bashism from torify script Signed-off-by: Marcus Griep --- diff --git a/contrib/torify.in b/contrib/torify.in index 6b1e440dc1..5bf7d4dbcf 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