#!/bin/sh
#
# $Id: xhbgtmk.sh,v 1.10 2005/01/10 18:45:11 druzus Exp $
#

# ---------------------------------------------------------------
# Copyright 2003 Przemyslaw Czerpak <druzus@polbox.com>
# This script checks you have all tools to build xHarbour binaries
# installed then takes current xHarbour sources from SourceForge CVS
# and build binary RPMs at your local host
#
# See doc/license.txt for licensing terms.
# ---------------------------------------------------------------

# ssh is not necessary for anonymous access on SourceForge
export CVS_RSH=ssh
export CVSROOT=":pserver:anonymous@xharbour.cvs.sourceforge.net:/cvsroot/xharbour"
export PROJECT=xharbour

    cd
    mkdir -p CVS
    cd CVS
    if cvs -z3 co "${PROJECT}"; then
	cd "${PROJECT}"
    fi

