Commit 6617ed8d authored by Steve Borho's avatar Steve Borho
Browse files

consistent spelling of certpsn

parent 4fa2a57314ab
......@@ -184,7 +184,7 @@ def sign(file, desc, cwd):
def signsn(file, desc, cwd):
miscabspath = os.path.abspath('misc')
run(r'%s\signsn.cmd "%s" "%s" "%s"' % (miscabspath, args.certsn, file, desc),
run(r'%s\signsn.cmd "%s" "%s" "%s"' % (miscabspath, args.certpsn, file, desc),
cwd, hide=True)
......@@ -371,8 +371,8 @@ def build_hg_installer(name, arch):
print "signing using cert '%s'" % (args.cert,)
desc = '%s %s' % (name, version)
sign(r'dist\hg.exe', desc, 'build/hg')
elif args.certsn is not None:
print "signing using cert '%s'" % (args.certsn,)
elif args.certpsn is not None:
print "signing using cert '%s'" % (args.certpsn,)
desc = '%s %s' % (name, version)
signsn(r'dist\hg.exe', desc, 'build/hg')
package = r'..\..\output\%s-%s-%s.msi' % (name, version, arch)
......@@ -398,8 +398,8 @@ def build_hg_installer(name, arch):
print "signing using cert '%s'" % (args.cert,)
desc = '%s %s' % (name, version)
sign(package, desc, 'build')
elif args.certsn is not None:
print "signing using cert '%s'" % (args.certsn,)
elif args.certpsn is not None:
print "signing using cert '%s'" % (args.certpsn,)
desc = '%s %s' % (name, version)
signsn(package, desc, 'build')
......@@ -518,8 +518,8 @@ def build_shellext(force, branch, tag, name, productid, arch):
package = r'src\ThgShell%s.dll' % arch
desc = "%s %s %s shell extension" % (name, arch, thgversion)
sign(package, desc, 'build/shellext')
elif args.certsn is not None:
print "signing using cert '%s'" % (args.certsn,)
elif args.certpsn is not None:
print "signing using cert '%s'" % (args.certpsn,)
package = r'src\ThgShell%s.dll' % arch
desc = "%s %s %s shell extension" % (name, arch, thgversion)
signsn(package, desc, 'build/shellext')
......@@ -576,8 +576,8 @@ def build_thg_installer(name, productid, arch):
print "signing using cert '%s'" % (args.cert,)
desc = 'TortoiseHg %s' % thgversion
signfunc = sign
elif args.certsn is not None:
print "signing using cert '%s'" % (args.certsn,)
elif args.certpsn is not None:
print "signing using cert '%s'" % (args.certpsn,)
desc = 'TortoiseHg %s' % thgversion
signfunc = signsn
if signfunc is not None:
......@@ -632,8 +632,8 @@ def build_thg_installer(name, productid, arch):
print "signing using cert '%s'" % (args.cert,)
desc = '%s %s %s' % (name, arch, thgversion)
sign(msifile, desc, 'build')
elif args.certsn is not None:
print "signing using cert '%s'" % (args.certsn,)
elif args.certpsn is not None:
print "signing using cert '%s'" % (args.certpsn,)
desc = '%s %s %s' % (name, arch, thgversion)
signsn(msifile, desc, 'build')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment