From: Kurt Zeilenga Date: Fri, 31 Dec 2004 23:00:53 +0000 (+0000) Subject: All releases with version.sh X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~483 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1344e833420f9c07fcadf585d189d6c025edc2a6;p=openldap All releases with version.sh --- diff --git a/build/mkrelease b/build/mkrelease index ee866c850d..62fcdaccc6 100755 --- a/build/mkrelease +++ b/build/mkrelease @@ -44,7 +44,7 @@ echo Release: $RELNAME echo CVS Tag: $CVSTAG echo Modules: $* -cvs -q export -r $CVSTAG -d $RELNAME $* +cvs -q export -kkv -r $CVSTAG -d $RELNAME $* if test ! -d $RELNAME ; then echo "error: $RELNAME doesn't exists" @@ -53,10 +53,13 @@ fi if test ! -e $RELNAME/build/version.sh ; then echo "No build version" - exit 1 + OL_STRING="something" +else + eval `$RELNAME/build/version.sh` fi -eval `$RELNAME/build/version.sh` +echo "Rolling up $OL_STRING ..." + tar cf $RELNAME.tar $RELNAME gzip -9 -c $RELNAME.tar > $RELNAME.tgz