Skip to content

Commit

Permalink
Better usage of subprocess.call for the packaging script.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/oblivionworks/code/Programs/Wrye%20Bash@1043 c80116c5-1073-4541-b2a9-63b9fd661f84
  • Loading branch information
lojack5 committed May 11, 2011
1 parent 89efaa6 commit 10a4b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package For Release.py
Expand Up @@ -178,7 +178,7 @@ def BuildInstallerVersion(version, file_version, nsis=None, pipe=None):
if nsis is None:
nsis = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE, r'Software\NSIS')
nsis = os.path.join(nsis, 'makensis.exe')
subprocess.call([nsis, '/DWB_NAME=Wrye Bash %s /DWB_FILEVERSION=%s' % (version, file_version), script], shell=True, stdout=pipe, stderr=pipe)
subprocess.call([nsis, '/DWB_NAME=Wrye Bash %s' % version, '/DWB_FILEVERSION=%s' % file_version, script], shell=True, stdout=pipe, stderr=pipe)
except:
print " Could not find 'makensis.exe', aborting Installer creation."

Expand Down

0 comments on commit 10a4b0b

Please sign in to comment.