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:
parent
1c7588ead5
commit
9e6df1092c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user