svn commit: samba r25420 - in branches/SAMBA_3_2_0/source/script: .
metze at samba.org
metze at samba.org
Fri Sep 28 23:42:31 GMT 2007
Author: metze
Date: 2007-09-28 23:42:28 +0000 (Fri, 28 Sep 2007)
New Revision: 25420
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25420
Log:
fix generation of git revision calculation
metze
Modified:
branches/SAMBA_3_2_0/source/script/mkversion.sh
Changeset:
Modified: branches/SAMBA_3_2_0/source/script/mkversion.sh
===================================================================
--- branches/SAMBA_3_2_0/source/script/mkversion.sh 2007-09-28 23:40:47 UTC (rev 25419)
+++ branches/SAMBA_3_2_0/source/script/mkversion.sh 2007-09-28 23:42:28 UTC (rev 25420)
@@ -107,7 +107,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