1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

s3:packaging: Fix version detection.

Adapted from 728b01fc03.
Thanks god I was not root! It would have delted /*!

Karolin
This commit is contained in:
Karolin Seeger 2009-12-10 14:57:08 +01:00
parent 56b754e09a
commit 0604c696a0

View File

@ -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