summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-22 14:48:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:52 -0500
commit4e9d01c2a7cd044ac4b466a1039c9a7e3978d6ef (patch)
treeac06863dcd51242a50a6f62fbca33b6e3b9ad5f4 /source4
parent2941d3233cc6f2cf6f031ee1254610219f12652a (diff)
downloadsamba-4e9d01c2a7cd044ac4b466a1039c9a7e3978d6ef.tar.gz
samba-4e9d01c2a7cd044ac4b466a1039c9a7e3978d6ef.tar.bz2
samba-4e9d01c2a7cd044ac4b466a1039c9a7e3978d6ef.zip
r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h metze (This used to be commit 081f7970dd16215b13fb3ab0630992189a9187be)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/mkversion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/mkversion.sh b/source4/script/mkversion.sh
index 917a9ed1ae..492ecaade2 100755
--- a/source4/script/mkversion.sh
+++ b/source4/script/mkversion.sh
@@ -48,7 +48,7 @@ fi
if test x"${SAMBA_VERSION_IS_SVN_SNAPSHOT}" = x"yes";then
HAVESVN=no
svn info ${SOURCE_DIR} >/dev/null 2>&1 && HAVESVN=yes
- TMP_REVISION=`(svn info ${SOURCE_DIR} 2>/dev/null || svk info ${SOURCE_DIR} 2>/dev/null) |grep Revision: |sed -e 's/Revision: \([0-9]*\).*/\1/'`
+ TMP_REVISION=`(svn info ${SOURCE_DIR} 2>/dev/null || svk info ${SOURCE_DIR} 2>/dev/null) |grep 'Last Changed Rev.*:' |sed -e 's/Last Changed Rev.*: \([0-9]*\).*/\1/'`
if test x"${HAVESVN}" = x"no";then
HAVESVK=no
svk info ${SOURCE_DIR} >/dev/null 2>&1 && HAVESVK=yes