X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Fmkrelease;h=f0e7a1f5d70d1ad5a99cbb16671cbe8ddb94dfb8;hb=f914c0545ce6487316ca9c097447e0e580b4c0df;hp=c694984f3c4b5de710d5cc2fa88bb796daa73802;hpb=40fa9d36ce344cb67bb3e693eecc01f9d9832cf5;p=openldap diff --git a/build/mkrelease b/build/mkrelease index c694984f3c..f0e7a1f5d7 100755 --- a/build/mkrelease +++ b/build/mkrelease @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -## Copyright 1998,1999 The OpenLDAP Foundation +## Copyright 1998-2002 The OpenLDAP Foundation ## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory ## of this package for details. # @@ -37,14 +37,18 @@ if test ! -d $RELNAME ; then exit 1 fi -if test ! -e $RELNAME/build/version ; then +if test ! -e $RELNAME/build/version.sh ; then echo "No build version" exit 1 fi +. $RELNAME/build/version.sh + tar cf $RELNAME.tar $RELNAME gzip -9 -c $RELNAME.tar > $RELNAME.tgz md5 $RELNAME.tgz > $RELNAME.md5 +rm -f $RELNAME.tar ls -l $RELNAME.* -cat $RELNAME/build/version + +echo "Made $OL_STRING as $RELNAME.tgz"