diff options
author | Michael Adam <obnox@samba.org> | 2009-01-21 11:03:34 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-13 16:19:32 +0100 |
commit | 0037b31b2f312586230c6631f647e5ad5fcbb994 (patch) | |
tree | b6c6646efe2a1b1175d54973642458dfa4bd35fc /packaging/RHEL-CTDB | |
parent | 30edbb86609f45fda3e3ba730d9494c1e02043c4 (diff) | |
download | samba-0037b31b2f312586230c6631f647e5ad5fcbb994.tar.gz samba-0037b31b2f312586230c6631f647e5ad5fcbb994.tar.bz2 samba-0037b31b2f312586230c6631f647e5ad5fcbb994.zip |
packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
Michael
(cherry picked from commit fc122aa276bce379b492e5bdf52ab3e03bc3737f)
Diffstat (limited to 'packaging/RHEL-CTDB')
-rwxr-xr-x | packaging/RHEL-CTDB/makespec.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/makespec.sh b/packaging/RHEL-CTDB/makespec.sh index ae58db0d85..62f0969868 100755 --- a/packaging/RHEL-CTDB/makespec.sh +++ b/packaging/RHEL-CTDB/makespec.sh @@ -26,6 +26,10 @@ vendor_version=`grep 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}'` +if test "x${vendor_patch}" != "x" ; then + VERSION="${VERSION}-${vendor_patch}" +fi VERSION=`echo ${VERSION} | sed 's/-/_/g'` VERSION=`echo ${VERSION} | sed 's/\"//g'` echo "VERSION: ${VERSION}" |