summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_latest_built_package_version.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-06-26 23:10:56 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-06-26 23:10:56 +0200
commit608d97009e5cad1da8c2e585fee7537d579c064d (patch)
treece3b5c15e47dfdc99bf83d8aad94817ddd964698 /redhat/build/get_latest_built_package_version.sh
parentf5fb93e00bc4656f22a61a8e04d227aae47e1dc4 (diff)
downloadtde-packaging-608d97009e5cad1da8c2e585fee7537d579c064d.tar.gz
tde-packaging-608d97009e5cad1da8c2e585fee7537d579c064d.zip
RPM: updates for Mageia 6
Diffstat (limited to 'redhat/build/get_latest_built_package_version.sh')
-rwxr-xr-xredhat/build/get_latest_built_package_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/get_latest_built_package_version.sh b/redhat/build/get_latest_built_package_version.sh
index a361ff7b7..ec7e63a8c 100755
--- a/redhat/build/get_latest_built_package_version.sh
+++ b/redhat/build/get_latest_built_package_version.sh
@@ -12,7 +12,7 @@ RPM=$(get_latest_built_package_filename.sh "${PKGNAME}" ${TDE_VERSION})
VERSION=$(rpm -qp --qf "%{version}-%{release}" "${RPM}")
VERSION=${VERSION%.opt}
VERSION=${VERSION%.[a-z]*}
-VERSION=${VERSION/-*_/\~}
+VERSION=${VERSION/-*_0/\~}
echo $VERSION