From d0be58c8e1a88b63a6d72617f0d24b33709a7b90 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 22 May 2007 20:25:41 +0000 Subject: [PATCH] when building a version string for a developer branch, include the base branch in the version string git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65541 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- build_tools/make_version | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_tools/make_version b/build_tools/make_version index 6176de2c0b..a29fe2b322 100755 --- a/build_tools/make_version +++ b/build_tools/make_version @@ -9,6 +9,8 @@ elif [ -d .svn ]; then TAG=0 REV=`svnversion -c ${1} | cut -d: -f2` + + BASE=`LANG=C svn pg svnmerge-integrated ${1} | cut -d: -f1` if [ "${PARTS}" = "trunk" ] then @@ -60,6 +62,6 @@ elif [ -d .svn ]; then then echo ${RESULT} else - echo SVN-${RESULT##-}-r${REV} + echo SVN-${RESULT##-}-r${REV}${BASE:+-${BASE}} fi fi