389-ds-base/389-ds-base-git-local.sh
Rich Megginson f064c093b3 fix cos crash - address some valgrind issues - fix kernel version checking
b05139b memleak in normalize_mods2bvals
c0eea24 memleak in mep_parse_config_entry
90bc9eb handle null smods
Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
Ticket #306 - void function cannot return value
ticket 304 - Fix kernel version checking in dsktune
2012-03-05 14:41:32 -07:00

24 lines
396 B
Bash

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