[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [chutney/master] Properly pass all arguments to TorNet
commit 0233979e2c02f44dbd4899fd7a88688b925f2e36
Author: Daniel Martà <mvdan@xxxxxxxx>
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 "$@"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits