summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-12-19 12:01:21 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2018-12-20 22:01:18 +0100
commitedeec5e861c44a784fbcb834645580320ea7177b (patch)
tree2508b0d0219bd3fd793ca84ebece692c61caac9b
parent8da2b2426f6de7d555f4943876d97c3a19c0db03 (diff)
downloadtde-packaging-edeec5e861c44a784fbcb834645580320ea7177b.tar.gz
tde-packaging-edeec5e861c44a784fbcb834645580320ea7177b.zip
RPM: update build script
-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 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)