svn commit: samba r25419 - in branches/SAMBA_4_0/source/script: .

metze at samba.org metze at samba.org
Fri Sep 28 23:40:49 GMT 2007


Author: metze
Date: 2007-09-28 23:40:47 +0000 (Fri, 28 Sep 2007)
New Revision: 25419

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25419

Log:
fix generation of git revision calculation

metze
Modified:
   branches/SAMBA_4_0/source/script/mkversion.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/mkversion.sh
===================================================================
--- branches/SAMBA_4_0/source/script/mkversion.sh	2007-09-28 23:39:32 UTC (rev 25418)
+++ branches/SAMBA_4_0/source/script/mkversion.sh	2007-09-28 23:40:47 UTC (rev 25419)
@@ -111,7 +111,7 @@
     if test x"${HAVEVER}" != x"yes" -a -d "${SOURCE_DIR}../.git";then
 	HAVEGIT=no
         GIT_INFO=`git show --abbrev-commit HEAD 2>/dev/null`
-	TMP_REVISION=`echo -e "${GIT_INFO}" | grep 'commit ' | sed 1q |sed -e 's/commit \([0-9a-f]*\).*/\1/'`
+	TMP_REVISION=`echo -e "${GIT_INFO}" | sed 1q | grep 'commit ' | sed -e 's/commit \([0-9a-f]*\).*/\1/'`
 	if test -n "$TMP_REVISION";then
 	    HAVEGIT=yes
             HAVEVER=yes



More information about the samba-cvs mailing list