This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
389-admin/389-admin-git.sh
Richard Allen Megginson 79610f9bf5 Initial commit
2009-06-23 02:36:44 +00:00

22 lines
491 B
Bash
Executable file

#!/bin/bash
DATE=`date +%Y%m%d`
TAG=HEAD
VERSION=1.1.7
PKGNAME=389-admin
export URL=git://git.fedorahosted.org/git/389/admin.git
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION
git clone $URL
cd admin.git
git archive --prefix=$SRCNAME/ $TAG | bzip2 > $SRCNAME.tar.bz2
#cvs -d "$CVSROOT" -z3 export -r$CVSTAG -d $SRCNAME adminserver
#cd $SRCNAME
#cvs -d "$CVSROOT" -z3 export -r$CVSTAG mod_admserv mod_restartd
#cd ..
#tar -cjf $SRCNAME.tar.bz2 $SRCNAME
cd ..
rm -rf admin.git