diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-09-09 11:43:35 -0400 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-09-09 11:43:35 -0400 |
commit | 9c5cc00998e240f4bc6061830a162e3daa1d2f81 (patch) | |
tree | 08288ab4caf6670105de119d7d6a415b69360e8b /indra/newview/viewer_manifest.py | |
parent | 5669597e1803f24ee2ea452a792ecf35deffaee8 (diff) | |
parent | 11d10bd53aa14a7a18ffb40a5195e95f4e108c21 (diff) |
Merged parabuild work and trunk with nat's latest linux linkage and LSL tests fixes.
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-x | indra/newview/viewer_manifest.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index a27c4a7fb7..1e8a185ef6 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -408,9 +408,16 @@ class WindowsManifest(ViewerManifest): self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile))
# self.remove(self.dst_path_of(tempfile))
# If we're on a build machine, sign the code using our Authenticode certificate. JC
- sign_py = 'C:\\buildscripts\\code-signing\\sign.py'
+ sign_py = os.path.expandvars("${SIGN}")
+ if not sign_py or sign_py == "${SIGN}":
+ sign_py = 'C:\\buildscripts\\code-signing\\sign.py'
+ else:
+ sign_py = sign_py.replace('\\', '\\\\\\\\')
+ python = os.path.expandvars("${PYTHON}")
+ if not python or python == "${PYTHON}":
+ python = 'python'
if os.path.exists(sign_py):
- self.run_command(sign_py + ' ' + self.dst_path_of(installer_file))
+ self.run_command("%s %s %s" % (python, sign_py, self.dst_path_of(installer_file).replace('\\', '\\\\\\\\')))
else:
print "Skipping code signing,", sign_py, "does not exist"
self.created_path(self.dst_path_of(installer_file))
|