Permalink
Browse files

bug 759318: stop excluding distribution/, extensions/, and mozilla.cf…

…g from OS X signature. r=rail
  • Loading branch information...
1 parent 55aaba0 commit 5438e056e47aa67c2bd7101ace74e848e4b34b27 @mozbhearsum mozbhearsum committed Jun 11, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 scripts/partner-repacks.py
@@ -401,6 +401,21 @@ def copyFiles(self):
shellCommand(cp_cmd)
self.createOverrideIni(path.join("stage", "Firefox.app", "Contents",
"MacOS"))
+ if self.signing_command:
+ self.signMacPackage()
+
+ def signMacPackage(self):
+ # XXX: it would be nice if we could put 'dmg' into self.signing_formats
+ # but because it has to be done prior to repackBuild(), we can't.
+ signing_cmd = self.signing_command
+ signing_cmd += ' --formats dmg '
+ signing_cmd += 'Firefox.app'
+ old_cwd = os.getcwd()
+ try:
+ os.chdir(path.join(self.working_dir, 'stage'))
+ shellCommand(signing_cmd)
+ finally:
+ os.chdir(old_cwd)
def repackBuild(self):
if options.quiet:

0 comments on commit 5438e05

Please sign in to comment.