mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user