1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

packaging(RHEL-CTDB): add fix for versions containing "-" signs.

Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
This commit is contained in:
Michael Adam 2008-09-08 14:09:41 +02:00
parent 5354e42067
commit 4bebce268a

View File

@ -62,6 +62,7 @@ vendor_version=`grep SAMBA_VERSION_VENDOR_SUFFIX ${VERSION_H} | awk '{print $3}'
if test "x${vendor_version}" != "x" ; then
VERSION="${VERSION}-${vendor_version}"
fi
VERSION=`echo ${VERSION} | sed 's/-/_/g'`
VERSION=`echo ${VERSION} | sed 's/\"//g'`
echo "VERSION: ${VERSION}"
sed -e s/PVERSION/${VERSION}/g \