From: Zooko O'Whielacronx Date: Fri, 4 Jun 2010 02:08:36 +0000 (-0700) Subject: setup: put quotes around the path to executable in case it has spaces in it, when... X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/module-simplejson.scanner.html?a=commitdiff_plain;h=ca910c2c3c5fd32174977fbf91dc5c49d5190a5a;p=tahoe-lafs%2Ftahoe-lafs.git setup: put quotes around the path to executable in case it has spaces in it, when building a tahoe.exe for win32 --- diff --git a/setup.py b/setup.py index d1481564..4084f2a9 100644 --- a/setup.py +++ b/setup.py @@ -240,7 +240,7 @@ class MakeExecutable(Command): f = open(bin_tahoe_template, "rU") script_lines = f.readlines() f.close() - script_lines[0] = "#!%s\n" % sys.executable + script_lines[0] = '#!"%s"\n' % sys.executable tahoe_script = os.path.join("bin", "tahoe-script.py") f = open(tahoe_script, "w") for line in script_lines: