linamh/app-admin/fedora-ds-console/files/fedora-ds-console-cvs.sh

14 lines
347 B
Bash
Raw Normal View History

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