From 1370be1a701bb5e90eb219d21e0019e9bf4f975e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 14 Oct 2008 20:03:50 +0000 Subject: Make sure arguments to python get quoted right by wrapper scripts. $ @ is portable, yes? git-svn-id: file:///home/or/svnrepo/updater/trunk@17095 55e972cd-5a19-0410-ae62-a4d7a52db4cd --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 9fd6680..88116f2 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def makescripts(extrapath=None): if extrapath: f.write('PYTHONPATH="$PYTHONPATH:%s"\n'%extrapath) f.write('export PYTHONPATH\n') - f.write("%s -m thandy.%s $*\n" %(sys.executable, modname)) + f.write('%s -m thandy.%s "$@"\n' %(sys.executable, modname)) f.close() SCRIPTS.append(fname) -- cgit v1.2.3