Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
32929a23
Commit
32929a23
authored
24 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add shared lib versioning
parent
af4fdca0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/version.sh
+5
-2
5 additions, 2 deletions
build/version.sh
with
5 additions
and
2 deletions
build/version.sh
+
5
−
2
View file @
32929a23
...
...
@@ -8,7 +8,8 @@ ol_package=OpenLDAP
ol_major
=
2
ol_minor
=
X
ol_patch
=
X
ol_api
=
200000
ol_api_inc
=
200000
ol_api_lib
=
0:0:0
if
test
$ol_patch
!=
X
;
then
ol_version
=
${
ol_major
}
.
${
ol_minor
}
.
${
ol_patch
}
...
...
@@ -19,6 +20,7 @@ elif test $ol_minor != X ; then
else
ol_version
=
${
ol_major
}
.
${
ol_minor
}
ol_type
=
Devel
ol_api_lib
=
0:0:0
fi
ol_string
=
"
${
ol_package
}
${
ol_version
}
-
${
ol_type
}
"
...
...
@@ -27,7 +29,8 @@ echo OL_PACKAGE=\"${ol_package}\"
echo
OL_MAJOR
=
$ol_major
echo
OL_MINOR
=
$ol_minor
echo
OL_PATCH
=
$ol_patch
echo
OL_API
=
$ol_api
echo
OL_API_INC
=
$ol_api_inc
echo
OL_API_LIB
=
$ol_api_lib
echo
OL_VERSION
=
$ol_version
echo
OL_TYPE
=
$ol_type
echo
OL_STRING
=
\"
${
ol_string
}
\"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment