From da9aa3099b254c237c2d4af5223df53c2a3e994d Mon Sep 17 00:00:00 2001 From: Kai Engert Date: Sun, 19 Feb 2012 11:58:23 +0000 Subject: [PATCH] Bug 699905 - Add update_nssckbi to client.py; r=bsmith r=wtc --- client.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client.py b/client.py index ee262b3b7f2f6..3dcd37056b462 100755 --- a/client.py +++ b/client.py @@ -5,6 +5,7 @@ ('security/nss', 'mozilla/security/nss'), ('security/coreconf', 'mozilla/security/coreconf'), ('security/dbm', 'mozilla/security/dbm')) +NSSCKBI_DIRS = (('security/nss/lib/ckfw/builtins', 'mozilla/security/nss/lib/ckfw/builtins'),) LIBFFI_DIRS = (('js/ctypes/libffi', 'libffi'),) CVSROOT_MOZILLA = ':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot' @@ -91,6 +92,13 @@ def do_cvs_export(modules, tag, cvsroot, cvs): options.cvsroot = os.environ.get('CVSROOT', CVSROOT_MOZILLA) do_cvs_export(NSS_DIRS, tag, options.cvsroot, options.cvs) print >>file("security/nss/TAG-INFO", "w"), tag + print >>file("security/nss/TAG-INFO-CKBI", "w"), tag +elif action in ('update_nssckbi'): + tag, = args[1:] + if not options.cvsroot: + options.cvsroot = os.environ.get('CVSROOT', CVSROOT_MOZILLA) + do_cvs_export(NSSCKBI_DIRS, tag, options.cvsroot, options.cvs) + print >>file("security/nss/TAG-INFO-CKBI", "w"), tag elif action in ('update_libffi'): tag, = args[1:] if not options.cvsroot: