mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Split version.sh to version.var; fix invocation in mkrelease
This commit is contained in:
parent
0b5ab06ec6
commit
fd7df67117
3 changed files with 16 additions and 8 deletions
|
|
@ -47,7 +47,7 @@ if test ! -e $RELNAME/build/version.sh ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
. $RELNAME/build/version.sh
|
||||
eval `$RELNAME/build/version.sh`
|
||||
|
||||
tar cf $RELNAME.tar $RELNAME
|
||||
gzip -9 -c $RELNAME.tar > $RELNAME.tgz
|
||||
|
|
|
|||
|
|
@ -4,13 +4,8 @@
|
|||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
ol_package=OpenLDAP
|
||||
ol_major=2
|
||||
ol_minor=X
|
||||
ol_patch=X
|
||||
ol_api_inc=000000
|
||||
ol_api_lib=0:0:0
|
||||
ol_release_date="00/00/0000"
|
||||
DIR=`dirname $0`
|
||||
. $DIR/version.var
|
||||
|
||||
if test $ol_patch != X ; then
|
||||
ol_version=${ol_major}.${ol_minor}.${ol_patch}
|
||||
|
|
|
|||
13
build/version.var
Normal file
13
build/version.var
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 2000-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
ol_package=OpenLDAP
|
||||
ol_major=2
|
||||
ol_minor=X
|
||||
ol_patch=X
|
||||
ol_api_inc=000000
|
||||
ol_api_lib=0:0:0
|
||||
ol_release_date="00/00/0000"
|
||||
Loading…
Reference in a new issue