]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove bashism from torify script
authorMarcus Griep <marcus@griep.us>
Fri, 12 Jun 2009 16:16:53 +0000 (12:16 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 16 Jun 2009 19:17:49 +0000 (15:17 -0400)
Signed-off-by: Marcus Griep <marcus@griep.us>
contrib/torify.in

index 6b1e440dc1ec40f855e57de83129b38f700d2b96..5bf7d4dbcf67f629d6d6f3acdf31838f98602ce5 100755 (executable)
@@ -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