diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-05-08 13:52:09 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-05-08 13:52:09 +0200 |
commit | 8ab4d3920b6da379f4d14ff3b78d088a45df7cb8 (patch) | |
tree | 513fffd2185a74b7d8e1ef0a0808e9d7b1bac0a0 /redhat/build/get_latest_tarball_version.sh | |
parent | 0edc1511e1134e66172a80f8d69389f246ff867e (diff) | |
download | tde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.tar.gz tde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.zip |
RPM: update build scripts for Fedora 38
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build/get_latest_tarball_version.sh')
-rwxr-xr-x | redhat/build/get_latest_tarball_version.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/build/get_latest_tarball_version.sh b/redhat/build/get_latest_tarball_version.sh index 36090ef86..bf6db3b9e 100755 --- a/redhat/build/get_latest_tarball_version.sh +++ b/redhat/build/get_latest_tarball_version.sh @@ -12,7 +12,9 @@ TARBALL=$(get_latest_tarball_filename.sh "${PKGNAME}" ${TDE_VERSION}) VERSION=${TARBALL##*/} VERSION=${VERSION#trinity-} VERSION=${VERSION#${PKGNAME}-} +VERSION=${VERSION#${PKGNAME}_} VERSION=${VERSION#*-} VERSION=${VERSION%.tar.gz} VERSION=${VERSION%.tar.bz2} +VERSION=${VERSION%.orig} echo "$VERSION" |