linamh/dev-java/idm-console-framework/files/idm-console-framework-cvs.sh

15 lines
430 B
Bash
Executable File

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