summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_latest_tarball_filename.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-01-30 23:53:31 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-01-30 23:57:34 +0100
commiteffbf509eea4f37a1a8660242769ed1746b67ee0 (patch)
tree47f019bebdc7f0549e43e57ac57856b2d505468b /redhat/build/get_latest_tarball_filename.sh
parent6581dc50b83f203d65eac61c00a159ab2a6ddb5d (diff)
downloadtde-packaging-effbf509eea4f37a1a8660242769ed1746b67ee0.tar.gz
tde-packaging-effbf509eea4f37a1a8660242769ed1746b67ee0.zip
RPM: update build scripts for Fedora 33 / CentOS 8
Diffstat (limited to 'redhat/build/get_latest_tarball_filename.sh')
-rwxr-xr-xredhat/build/get_latest_tarball_filename.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/get_latest_tarball_filename.sh b/redhat/build/get_latest_tarball_filename.sh
index 0cfd80047..1d129843f 100755
--- a/redhat/build/get_latest_tarball_filename.sh
+++ b/redhat/build/get_latest_tarball_filename.sh
@@ -13,7 +13,7 @@ EXTRA_DIR="$(cd ${TARBALLS_DIR}/../extras/; pwd)"
RET=""
for dir in "${TARBALLS_DIR}" "${EXTRA_DIR}" "${DIST_PACKAGING_DIR}"; do
for v in "${PKGNAME}-${TDE_VERSION}*.tar.*" "trinity-${PKGNAME}-${TDE_VERSION}*.tar.*" "${PKGNAME}[-_][0-9]*.tar.*"; do
- RET=$(find "${dir}" -follow -type f -name ${v} | sort -V | tail -n 1)
+ RET=$(find "${dir}" -follow -type f -name ${v} | sort | tail -n 1)
[ -r "${RET}" ] && break
done
[ -r "${RET}" ] && echo "${RET}" && break