diff options
Diffstat (limited to 'packaging/RHEL')
-rwxr-xr-x | packaging/RHEL/makerpms.git.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/RHEL/makerpms.git.sh b/packaging/RHEL/makerpms.git.sh index 1b31648415..68f9d96ac9 100755 --- a/packaging/RHEL/makerpms.git.sh +++ b/packaging/RHEL/makerpms.git.sh @@ -61,8 +61,8 @@ if [ ! -f ${VERSION_H} ] ; then exit 1 fi -VERSION=`grep SAMBA_VERSION_OFFICIAL_STRING ${VERSION_H} | awk '{print $3}'` -vendor_version=`grep SAMBA_VERSION_VENDOR_SUFFIX ${VERSION_H} | awk '{print $3}'` +VERSION=`grep "^#define SAMBA_VERSION_OFFICIAL_STRING " ${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 |