diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-04-21 13:20:37 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-04-21 13:20:37 +0200 |
commit | 78c25ac48eaff39d3822b2a4321b608ba44a6b7d (patch) | |
tree | deb81acdbe503770970ecb526c2e0e248c9b7093 | |
parent | 083646e079bddba0fbddf1b2c5e103c551d7e99c (diff) | |
download | tde-packaging-78c25ac48eaff39d3822b2a4321b608ba44a6b7d.tar.gz tde-packaging-78c25ac48eaff39d3822b2a4321b608ba44a6b7d.zip |
RPM: update build script
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rwxr-xr-x | redhat/build/get_latest_tarball_filename.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/build/get_latest_tarball_filename.sh b/redhat/build/get_latest_tarball_filename.sh index c3f35cf43..e2558d585 100755 --- a/redhat/build/get_latest_tarball_filename.sh +++ b/redhat/build/get_latest_tarball_filename.sh @@ -12,7 +12,13 @@ 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 + for v in \ + "${PKGNAME}-${TDE_VERSION}.tar.*" \ + "${PKGNAME}-${TDE_VERSION}*.tar.*" \ + "trinity-${PKGNAME}-${TDE_VERSION}.tar.*" \ + "trinity-${PKGNAME}-${TDE_VERSION}*.tar.*" \ + "${PKGNAME}[-_][0-9]*.tar.*" \ + ; do RET=$(find "${dir}" -follow -type f -name ${v} | sort | tail -n 1) [ -r "${RET}" ] && break done |