#! /usr/bin/env python2.3
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Command line script to drive the fssync client.

$Id: zsync,v 1.4 2003/12/17 07:56:00 philikon Exp $
"""

import os
import sys

here = os.path.dirname(os.path.realpath(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())
