MT#55283 use .release-version info while building

Change-Id: I2c6c65dfc2ae4a341c34f89effdb9454917b4bdd
(cherry picked from commit 33bcd6a1fa)
mr14.1
Richard Fuchs 2 months ago
parent 9408bff029
commit 625d592c41

@ -24,6 +24,10 @@ if command -v dpkg-parsechangelog >/dev/null; then
have_dpkg_parsechangelog=yes
fi
if [ -z "${RTPENGINE_VERSION}" ] && [ -f .release-version ]; then
RTPENGINE_VERSION=$(<.release-version)
fi
if [ -z "${RTPENGINE_VERSION}" ]; then
if [ "${have_dpkg_parsechangelog}" = yes ]; then
deb_version="$(dpkg-parsechangelog -l"${top_srcdir}"/debian/changelog | awk '/^Version: / { print $2 }')"

Loading…
Cancel
Save