[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4941-gd1b2f90

Michael Adam obnox at samba.org
Wed Feb 11 21:41:20 GMT 2009


The branch, v3-3-test has been updated
       via  d1b2f90f881d554e844525ddf44232b04f14e8eb (commit)
       via  88a3430e6db9fe31fe711a6fdc90d6604dac63e3 (commit)
       via  d75e0756a39e30414d5277edd2e098da9cec464e (commit)
      from  5b551d6e3ef2c69a5fd050abcecb4c6b0ab36402 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit d1b2f90f881d554e844525ddf44232b04f14e8eb
Author: Michael Adam <obnox at samba.org>
Date:   Wed Feb 11 22:27:48 2009 +0100

    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

commit 88a3430e6db9fe31fe711a6fdc90d6604dac63e3
Author: Michael Adam <obnox at samba.org>
Date:   Wed Feb 11 22:25:41 2009 +0100

    s3:packaging: fix path to calling update-pkginfo after pushd in fill-templates
    
    Michael

commit d75e0756a39e30414d5277edd2e098da9cec464e
Author: Michael Adam <obnox at samba.org>
Date:   Wed Feb 11 22:24:52 2009 +0100

    s3:packaging: paths cosmetics in fill-templates
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 packaging/bin/fill-templates |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/bin/fill-templates b/packaging/bin/fill-templates
index 4e1be39..20e32b2 100755
--- a/packaging/bin/fill-templates
+++ b/packaging/bin/fill-templates
@@ -13,7 +13,7 @@
 # License: GPL
 
 DIRNAME=$(dirname $0)
-TOPDIR=${DIRNAME}/../../
+TOPDIR=${DIRNAME}/../..
 SRCDIR=${TOPDIR}/source
 VERSION_H=${SRCDIR}/include/version.h
 
@@ -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
@@ -43,5 +43,5 @@ VERSION=`echo ${VERSION} | sed 's/\"//g'`
 echo "VERSION: ${VERSION}"
 
 pushd ${TOPDIR}/packaging > /dev/null 2>&1
-${TOPDIR}/packaging/bin/update-pkginfo "${VERSION}" 1 ""
+./bin/update-pkginfo "${VERSION}" 1 ""
 popd > /dev/null 2>&1


-- 
Samba Shared Repository


More information about the samba-cvs mailing list