389-ds-base/389-ds-base-git-local.sh
Rich Megginson aa78a6d494 disable use of betxn plugins by default - ldclt fix
Ticket #351 - use betxn plugins by default
  revert - make no plugins betxn by default - too great a risk
  for deadlocks until we can test this better
Ticket #348 - crash in ldap_initialize with multiple threads
  fixes PR_Init problem in ldclt
2012-05-04 14:49:34 -06:00

24 lines
396 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.11.2
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