[tor-commits] [chutney/master] Properly pass all arguments to TorNet

nickm at torproject.org nickm at torproject.org
Tue Aug 19 14:37:36 UTC 2014


commit 0233979e2c02f44dbd4899fd7a88688b925f2e36
Author: Daniel Martí <mvdan at mvdan.cc>
Date:   Fri Aug 15 14:24:52 2014 +0200

    Properly pass all arguments to TorNet
    
    Using $* without quotes would lead to splitting parameters with spaces
---
 chutney |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chutney b/chutney
index b4c1370..4a26464 100755
--- a/chutney
+++ b/chutney
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 export PYTHONPATH="`dirname $0`/lib:${PYTHONPATH}"
-${PYTHON:=python2} -m chutney.TorNet $*
+${PYTHON:=python2} -m chutney.TorNet "$@"



More information about the tor-commits mailing list