14 lines
334 B
Bash
14 lines
334 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
DATE=`date +%Y%m%d`
|
||
|
CVSTAG=FedoraDirSvr110a4
|
||
|
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-$DATE ldapserver
|
||
|
|
||
|
tar -cjf $PKGNAME-$VERSION-$DATE.tar.bz2 $PKGNAME-$VERSION-$DATE
|
||
|
|
||
|
rm -rf $PKGNAME-$VERSION-$DATE
|