This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
389-admin/389-admin-git-local.sh
Rich Megginson 5b5647c309 1.1.14 release
1.1.14 release
- Bug 664671 - Admin server segfault when full SSL access (http+ldap+console)
required
- Bug 638511 - dirsrv-admin crashes at startup with SELinux enabled
(cherry picked from commit 4dd0d94d70897a48ad79e75f031b0e2ceb91403e)
2011-01-07 15:12:24 -07:00

17 lines
337 B
Bash
Executable file

#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.14
PKGNAME=389-admin
TAG=${TAG:-$PKGNAME-$VERSION}
SRCNAME=${PKGNAME}-${VERSION}
echo you must be in the admin server 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