389-ds-base/389-ds-base-git-local.sh
Rich Megginson 6ca11f4721 fix config del/add mods - memberof is transaction aware
Bug 741744 - part3 - MOD operations with chained delete/add get back error 53
1d2f5a0 make memberof transaction aware and able to be a betxnpostoperation plug in
b6d3ba7 pass the plugin config entry to the plugin init function
28f7bfb set the ENTRY_POST_OP for modrdn betxnpostoperation plugins
Bug 743966 - Compiler warnings in account usability plugin
2011-10-07 21:05:45 -06:00

24 lines
397 B
Bash

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