From fcc7239e238ea26204aa7fa4ce8d679b47027be0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 8 Sep 2008 14:09:41 +0200 Subject: packaging(RHEL-CTDB): add fix for versions containing "-" signs. Michael (cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b) (This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d) --- packaging/RHEL-CTDB/makerpms.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'packaging') 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 \ -- cgit v1.2.3