389-ds-base/389-ds-base-git-local.sh
Rich Megginson 3046c63687 389-ds-base-1.2.9.7 - bugfix update
389-ds-base-1.2.9.7 - bugfix update
Bug 733103 - large targetattr list with syntax errors cause server to crash or hang
Bug 633803 - passwordisglobalpolicy attribute brakes TLS chaining
Bug 732541 - Ignore error 32 when adding automember config
Bug 728592 - Allow ns-slapd to start with an invalid server cert
2011-08-25 10:40:37 -06:00

24 lines
395 B
Bash

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