packaging(RHEL-CTDB): fix creation of version number in makespec.sh
authorMichael Adam <obnox@samba.org>
Thu, 19 Mar 2009 23:21:34 +0000 (00:21 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 19 Mar 2009 23:21:34 +0000 (00:21 +0100)
Michael

packaging/RHEL-CTDB/makespec.sh

index 62f0969868c68092690b40cfae925b02391e5354..a73b3f81e029a4e32677fda3cddc658ef24f51d0 100755 (executable)
@@ -26,7 +26,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
-vendor_patch=`grep SAMBA_VERSION_VENDOR_PATCH ${VERSION_H} | awk '{print $3}'`
+vendor_patch=`grep "SAMBA_VERSION_VENDOR_PATCH " ${VERSION_H} | awk '{print $3}'`
 if test "x${vendor_patch}" != "x" ; then
        VERSION="${VERSION}-${vendor_patch}"
 fi