diff options
author | James Cook <james@lindenlab.com> | 2009-03-04 18:53:18 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-03-04 18:53:18 +0000 |
commit | 82d945297bf9ef644bc3c89a98603765739ba34c (patch) | |
tree | f9c5698d4e8dbd90dab2f0123a67c1489fb220c2 /indra | |
parent | b5ef0bb6c235d3a50766fddf02c2850a54480173 (diff) |
Fix problem with code signing script (sign.py) not being invoked properly on some systems. Changed "sign.py filename" to "python sign.py filename". Reviewed with bos and kelly.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/viewer_manifest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index c79c2aedf1..debbcd7e3b 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -386,7 +386,10 @@ class WindowsManifest(ViewerManifest): # If we're on a build machine, sign the code using our Authenticode certificate. JC sign_py = 'C:\\buildscripts\\code-signing\\sign.py' if os.path.exists(sign_py): - self.run_command(sign_py + ' ' + self.dst_path_of(installer_file)) + # Appears to require the "python" command to pass a proper argv + # to the script, but only on certain systems. JC + self.run_command('python ' + sign_py + ' ' + + self.dst_path_of(installer_file)) else: print "Skipping code signing,", sign_py, "does not exist" self.created_path(self.dst_path_of(installer_file)) |