[Zope3-checkins] CVS: Zope3/bin - zsync:1.1

Fred L. Drake, Jr. fred@zope.com
Wed, 16 Jul 2003 16:25:57 -0400


Update of /cvs-repository/Zope3/bin
In directory cvs.zope.org:/tmp/cvs-serv14305/bin

Added Files:
	zsync 
Log Message:
Add a zsync script that invokes the fssync client program.

=== Added File Zope3/bin/zsync ===
#! /usr/bin/env python2.2

"""Command line script to drive the fssync client."""

import os
import sys

here = os.path.realpath(os.path.dirname(sys.argv[0]))
srcdir = os.path.join(os.path.dirname(here), "src")

if srcdir not in sys.path:
    sys.path.insert(0, srcdir)

from zope.fssync.main import main

sys.exit(main())