linamh/net-nds/fedora-ds-base/files/fedora-ds-cvs.sh
2007-08-18 11:48:27 +00:00

14 lines
346 B
Bash
Executable File

#!/bin/bash
DATE=`date +%Y%m%d`
CVSTAG=FedoraDirSvr110b1
VERSION=1.1.0
PKGNAME=fedora-ds
export CVSROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/dirsec
cvs -d "$CVSROOT" -z3 export -r$CVSTAG -d $PKGNAME-$VERSION-pre$DATE ldapserver
tar -cjf $PKGNAME-$VERSION-pre$DATE.tar.bz2 $PKGNAME-$VERSION-pre$DATE
rm -rf $PKGNAME-$VERSION-pre$DATE