summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-11 22:27:48 +0100
committerKarolin Seeger <kseeger@samba.org>2009-02-16 09:57:02 +0100
commit36d5f646e2aa217bcff65bbf357828a575a21e4e (patch)
tree51c0e2b49c547acda4b9cec3c6cfc15248a21982 /packaging
parentd75376bd44a4fd41e319820caa29d139a568eca1 (diff)
downloadsamba-36d5f646e2aa217bcff65bbf357828a575a21e4e.tar.gz
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 (cherry picked from commit d1b2f90f881d554e844525ddf44232b04f14e8eb)
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