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:
parent
5354e42067
commit
4bebce268a
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user