Explorar o código

Properly pass all arguments to TorNet

Using $* without quotes would lead to splitting parameters with spaces
Daniel Martí %!s(int64=11) %!d(string=hai) anos
pai
achega
0233979e2c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      chutney

+ 1 - 1
chutney

@@ -1,4 +1,4 @@
 #!/bin/sh
 #!/bin/sh
 
 
 export PYTHONPATH="`dirname $0`/lib:${PYTHONPATH}"
 export PYTHONPATH="`dirname $0`/lib:${PYTHONPATH}"
-${PYTHON:=python2} -m chutney.TorNet $*
+${PYTHON:=python2} -m chutney.TorNet "$@"