diff options
Diffstat (limited to 'redhat/build/get_latest_tarball_filename.sh')
-rwxr-xr-x | redhat/build/get_latest_tarball_filename.sh | 2 |
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 |