use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-12-04 18:03:07 +00:00
parent 5b03803e2f
commit 78ad17381e

View File

@@ -4,7 +4,7 @@ PARTS=`LANG=C svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/asteris
BRANCH=0
TEAM=0
REV=`LANG=C svn info | grep -e 'Last Changed Rev' | awk '{print $4;}'`
REV=`svnversion -c . | cut -d: -f2`
if [ "${PARTS}" = "trunk" ]
then