summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-11 22:27:48 +0100
committerMichael Adam <obnox@samba.org>2009-02-11 22:38:11 +0100
commit9cb2dfb1acc958c73f195ddc2480f267262e7d74 (patch)
treeb8fc9e4b1e0fb88dffe664df71abf8d87b4a4a57 /packaging
parent3884700f8b9d442352f301b306a9a0efc04f6153 (diff)
downloadsamba-9cb2dfb1acc958c73f195ddc2480f267262e7d74.tar.gz
samba-9cb2dfb1acc958c73f195ddc2480f267262e7d74.tar.xz
samba-9cb2dfb1acc958c73f195ddc2480f267262e7d74.zip
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
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/bin/fill-templates6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/bin/fill-templates b/packaging/bin/fill-templates
index af8bb327872..20e32b270ac 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