diff options
author | Richard Levitte <levitte@openssl.org> | 2022-12-02 06:59:58 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-12-08 07:23:27 +0100 |
commit | f60dfe818470c41a4d6d299a2b1f4b4d64765464 (patch) | |
tree | 2b7390568b227be6c1fd9926e50d7d250a93fc5f /util/mktar.sh | |
parent | f15d23e2f9ec10a0c6ccd76317c0c8aeb5378a33 (diff) |
Fix treatment of BUILD_METADATA
According to documentation [^1], the BUILD_METADATA from VERSION.dat should
be prefixed with a plus sign when used. It is given this treatment in
Configure, but not in all other scripts that use VERSION.dat directly.
This change fixes that.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/19815)
(cherry picked from commit 83a5bd80708adc6726deac390e405a7b50dec540)
Diffstat (limited to 'util/mktar.sh')
-rwxr-xr-x | util/mktar.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/mktar.sh b/util/mktar.sh index 06a1f92150..353ff716d3 100755 --- a/util/mktar.sh +++ b/util/mktar.sh @@ -12,6 +12,7 @@ HERE=`dirname $0` . $HERE/../VERSION.dat if [ -n "$PRE_RELEASE_TAG" ]; then PRE_RELEASE_TAG=-$PRE_RELEASE_TAG; fi +if [ -n "$BUILD_METADATA" ]; then BUILD_METADATA=+$BUILD_METADATA; fi version=$MAJOR.$MINOR.$PATCH$PRE_RELEASE_TAG$BUILD_METADATA basename=openssl |