Skip to content

Commit

Permalink
Bug 699905 - Add update_nssckbi to client.py; r=bsmith r=wtc
Browse files Browse the repository at this point in the history
  • Loading branch information
kaie committed Feb 19, 2012
1 parent 551f2ae commit da9aa30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]:/cvsroot'
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit da9aa30

Please sign in to comment.