Bug 1345368 - adapt to new NSS certdata.py, r=ted
☠☠ backed out by 99e99af157c2 ☠ ☠
authorFranziskus Kiefer <franziskuskiefer@gmail.com>
Tue, 06 Jun 2017 09:59:42 +0200
changeset 362546 952cf10f8d8afa91d5b4e86702febfb0f19aa91e
parent 362545 b5195ecbebe63d1a72448636283040c5a16ee5d4
child 362547 ddbdc9be58794424f500b0292c905fe4a2c92379
push id31983
push userkwierso@gmail.com
push dateWed, 07 Jun 2017 00:19:30 +0000
treeherdermozilla-central@5801aa478de1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1345368
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1345368 - adapt to new NSS certdata.py, r=ted UPGRADE_NSS_RELEASE
security/generate_certdata.py
--- a/security/generate_certdata.py
+++ b/security/generate_certdata.py
@@ -1,11 +1,15 @@
 #!/usr/bin/env python
 #
 # This exists to paper over differences between gyp's `action` definitions
 # and moz.build `GENERATED_FILES` semantics.
 
 import buildconfig
+import os
 import subprocess
 
 def main(output, *inputs):
-    output.write(subprocess.check_output([buildconfig.substs['PERL']] + list(inputs)))
+    env=dict(os.environ)
+    env['PERL'] = buildconfig.substs['PERL']
+    output.write(subprocess.check_output([buildconfig.substs['PYTHON'],
+                 inputs[0], inputs[2]], env=env))
     return None