2000-09-15 05:01:22 +08:00
|
|
|
#! /bin/sh
|
|
|
|
# $OpenLDAP$
|
2003-01-04 04:20:47 +08:00
|
|
|
## Copyright 2000-2003 The OpenLDAP Foundation
|
2000-09-15 05:01:22 +08:00
|
|
|
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
|
|
|
## of this package for details.
|
|
|
|
#
|
2003-03-29 03:33:40 +08:00
|
|
|
DIR=`dirname $0`
|
|
|
|
. $DIR/version.var
|
2000-09-15 05:01:22 +08:00
|
|
|
|
|
|
|
if test $ol_patch != X ; then
|
|
|
|
ol_version=${ol_major}.${ol_minor}.${ol_patch}
|
|
|
|
ol_type=Release
|
|
|
|
elif test $ol_minor != X ; then
|
|
|
|
ol_version=${ol_major}.${ol_minor}.${ol_patch}
|
|
|
|
ol_type=Engineering
|
|
|
|
else
|
|
|
|
ol_version=${ol_major}.${ol_minor}
|
|
|
|
ol_type=Devel
|
2000-09-15 05:15:11 +08:00
|
|
|
ol_api_lib=0:0:0
|
2000-09-15 05:01:22 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
ol_string="${ol_package} ${ol_version}-${ol_type}"
|
|
|
|
|
|
|
|
echo OL_PACKAGE=\"${ol_package}\"
|
|
|
|
echo OL_MAJOR=$ol_major
|
|
|
|
echo OL_MINOR=$ol_minor
|
|
|
|
echo OL_PATCH=$ol_patch
|
2000-09-15 05:15:11 +08:00
|
|
|
echo OL_API_INC=$ol_api_inc
|
|
|
|
echo OL_API_LIB=$ol_api_lib
|
2000-09-15 05:01:22 +08:00
|
|
|
echo OL_VERSION=$ol_version
|
|
|
|
echo OL_TYPE=$ol_type
|
|
|
|
echo OL_STRING=\"${ol_string}\"
|
2002-06-13 11:59:10 +08:00
|
|
|
echo OL_RELEASE_DATE=\"${ol_release_date}\"
|