summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB/makerpms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RHEL-CTDB/makerpms.sh')
-rwxr-xr-xpackaging/RHEL-CTDB/makerpms.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/makerpms.sh b/packaging/RHEL-CTDB/makerpms.sh
index d449466584..219982fda9 100755
--- a/packaging/RHEL-CTDB/makerpms.sh
+++ b/packaging/RHEL-CTDB/makerpms.sh
@@ -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 \