From be5f3f6229dded560a1feee6375a43255eb5c4fd Mon Sep 17 00:00:00 2001 From: qwell Date: Tue, 29 Jul 2008 22:47:37 +0000 Subject: [PATCH] I believe this is what was meant. (it matches how Asterisk does it) git-svn-id: http://svn.digium.com/svn/libpri/branches/1.4@602 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- build_tools/make_version | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build_tools/make_version b/build_tools/make_version index 6d88cff..28af581 100755 --- a/build_tools/make_version +++ b/build_tools/make_version @@ -31,18 +31,18 @@ elif [ -d .svn ]; then if [ ${BRANCH} != 0 ] ; then if [ -z ${RESULT} ] ; then - RESULT="2${PART}" + RESULT="${PART}" else - RESULT="3${RESULT}-${PART}" + RESULT="${RESULT}-${PART}" fi break fi if [ ${TEAM} != 0 ] ; then if [ -z ${RESULT} ] ; then - RESULT="4${PART}" + RESULT="${PART}" else - RESULT="5${RESULT}-${PART}" + RESULT="${RESULT}-${PART}" fi continue fi @@ -64,8 +64,6 @@ elif [ -d .svn ]; then fi done - RESULT="libpri" - if [ ${TAG} != 0 ] ; then echo ${RESULT} else -- 2.11.4.GIT