I believe this is what was meant. (it matches how Asterisk does it)

git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@602 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Jason Parker 2008-07-29 22:47:37 +00:00
parent 1c7588ead5
commit 9e6df1092c

View File

@ -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