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
Richard Allen Megginson 2aed25ab8d the 1.1.11.a2 release Bug 460162 - FedoraDS "with-FHS" installs init.d
StartupScript in wrong location Bug 460209 - Correct configure help
    message Bug 560827 - Admin Server: DistinguishName validation fails
    Make check for threaded httpd work with Apache 2.0
2010-02-27 02:08:54 +00:00

15 lines
339 B
Bash
Executable file

#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.11.a2
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