summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_latest_tarball_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/get_latest_tarball_version.sh')
-rwxr-xr-xredhat/build/get_latest_tarball_version.sh2
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"