389-ds-base/389-ds-base-git.sh

17 lines
367 B
Bash
Raw Normal View History

2009-05-26 22:55:06 +00:00
#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
2009-12-07 23:29:24 +00:00
VERSION=1.2.5.rc2
2009-05-26 22:55:06 +00:00
PKGNAME=389-ds-base
2009-12-02 18:17:04 +00:00
TAG=${TAG:-$PKGNAME-$VERSION}
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
2009-05-26 22:55:06 +00:00
SRCNAME=$PKGNAME-$VERSION
2009-12-02 18:17:04 +00:00
wget -O $SRCNAME.tar.gz "$URL"
2009-05-26 22:55:06 +00:00
2009-12-02 18:17:04 +00:00
echo convert tgz format to tar.bz2 format
2009-05-26 22:55:06 +00:00
2009-12-02 18:17:04 +00:00
gunzip $PKGNAME-$VERSION.tar.gz
bzip2 $PKGNAME-$VERSION.tar