From a77605ae83e4234e89cfd4cdff696034e3b981f2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 11 Feb 2009 22:27:48 +0100 Subject: s3:packaging: fix parsing of include.h in fill-templates The content has changed slightly in master for the merged build, and we must be more exact when parsing the lines. Michael --- packaging/bin/fill-templates | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packaging/bin') diff --git a/packaging/bin/fill-templates b/packaging/bin/fill-templates index 537664dd11..204003c53b 100755 --- a/packaging/bin/fill-templates +++ b/packaging/bin/fill-templates @@ -26,14 +26,14 @@ if [ ! -f ${VERSION_H} ] ; then exit 1 fi -VERSION=`grep SAMBA_VERSION_OFFICIAL_STRING ${VERSION_H} | awk '{print $3}'` +VERSION=`grep "define SAMBA_VERSION_OFFICIAL_STRING" ${VERSION_H} | awk '{print $3}'` -vendor_version=`grep SAMBA_VERSION_VENDOR_SUFFIX ${VERSION_H} | awk '{print $3}'` +vendor_version=`grep "define SAMBA_VERSION_VENDOR_SUFFIX" ${VERSION_H} | awk '{print $3}'` if test "x${vendor_version}" != "x" ; then VERSION="${VERSION}-${vendor_version}" fi -vendor_patch=`grep SAMBA_VERSION_VENDOR_PATCH ${VERSION_H} | awk '{print $3}'` +vendor_patch=`grep "define SAMBA_VERSION_VENDOR_PATCH" ${VERSION_H} | awk '{print $3}'` if test "x${vendor_patch}" != "x" ; then VERSION="${VERSION}-${vendor_patch}" fi -- cgit