mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
setup: put quotes around the path to executable in case it has spaces in it, when building a tahoe.exe for win32
This commit is contained in:
parent
9214dbda50
commit
ca910c2c3c
2
setup.py
2
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user