diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-12-19 12:01:21 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-12-19 12:01:21 +0100 |
commit | 049a724ea3e59e6586d9816d5b0359de6d9e2048 (patch) | |
tree | c971edd8e9ec9746321641d2644f15dfdfee659d | |
parent | 1b538786c95311caa20921f619312ae3f8627cf7 (diff) | |
download | tde-packaging-049a724ea3e59e6586d9816d5b0359de6d9e2048.tar.gz tde-packaging-049a724ea3e59e6586d9816d5b0359de6d9e2048.zip |
RPM: update build script
-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 dba56da55..b4626036e 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=$(find "${TARBALLS_DIR}" -name "trinity-${PKGNAME}-${TDE_VERSION}*.tar.gz" | sort -V | tail -n 1) [ -r "${RET}" ] && echo "${RET}" && exit 0 -RET=$(find "${TARBALLS_DIR}" "${EXTRA_DIR}" -follow -name "${PKGNAME}-${TDE_VERSION}*.tar.gz" | sort -V | tail -n 1) +RET=$(find "${TARBALLS_DIR}" "${EXTRA_DIR}" -follow -name "${PKGNAME}-${TDE_VERSION}*.tar.gz" -o -name "trinity-${PKGNAME}-${TDE_VERSION}*.tar.gz" | sort -V | tail -n 1) [ -r "${RET}" ] && echo "${RET}" && exit 0 RET=$(find "${TARBALLS_DIR}" -name "trinity-${PKGNAME}-[0-9]*.tar.gz" | sort -V | tail -n 1) |