linamh/www-apache/mod_nss/files/mod_nss-cvs.sh

14 lines
314 B
Bash
Raw Normal View History

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