Hopefully this will fix the problems on Linux with makensis

This commit is contained in:
rdb 2011-03-12 09:07:38 +00:00
parent a6d0e9765a
commit a5c746b5d7

View File

@ -936,14 +936,13 @@ class Installer:
nsi.write('SectionEnd')
nsi.close()
options = ["V2"]
cmd = "\"" + makensis + "\""
for o in options:
cmd = [makensis]
for o in ["V2"]:
if sys.platform.startswith("win"):
cmd += " /" + o
cmd.append("/" + o)
else:
cmd += " -" + o
cmd += " \"" + nsifile.toOsSpecific() + "\""
cmd.append("-" + o)
cmd.append(nsifile.toOsSpecific())
print cmd
try:
retcode = subprocess.call(cmd, shell = False)