389-ds-base/389-ds-base-git-local.sh
Rich Megginson 0b44dc6de9 fix CLEANALLRUV and winsync - consumer update race condition - mem frag debugging
Ticket 450 - CLEANALLRUV task gets stuck on winsync replication agreement
Ticket 386 - large memory growth with ldapmodify(heap fragmentation)
 this patch doesn't fix the bug - it allows us to experiment with
 different values of mxfast
Ticket #374 - consumer can go into total update mode for no reason
2012-09-07 12:28:55 -06:00

24 lines
401 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.11.14
PKGNAME=389-ds-base
TAG=${TAG:-$PKGNAME-$VERSION}
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION
test -d .git || {
echo you must be in the ds git repo to use this
echo bye
exit 1
}
if [ -z "$1" ] ; then
dir=.
else
dir="$1"
fi
git archive --prefix=$SRCNAME/ $TAG | bzip2 > $dir/$SRCNAME.tar.bz2