mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
Fix util/mktar.sh to use the new VERSION information
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11190)
This commit is contained in:
parent
c590be6f12
commit
1dfdbd5bf6
@ -8,7 +8,11 @@
|
||||
|
||||
HERE=`dirname $0`
|
||||
|
||||
version=`grep 'OPENSSL_VERSION_TEXT *"OpenSSL' $HERE/../include/openssl/opensslv.h | sed -e 's|.*"OpenSSL ||' -e 's| .*||'`
|
||||
# Get all version data as shell variables
|
||||
. $HERE/../VERSION
|
||||
|
||||
if [ -n "$PRE_RELEASE_TAG" ]; then PRE_RELEASE_TAG=-$PRE_RELEASE_TAG; fi
|
||||
version=$MAJOR.$MINOR.$PATCH$PRE_RELEASE_TAG$BUILD_METADATA
|
||||
basename=openssl
|
||||
|
||||
NAME="$basename-$version"
|
||||
|
Loading…
x
Reference in New Issue
Block a user