aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-04 18:03:07 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-04 18:03:07 +0000
commitcfb7fb09ed843fb2ecac95afc9ce34f3dc664720 (patch)
tree9038c046bfc88af3d24ea89b8c0721da1b0588a8 /build_tools
parent1982e280c74bfc4ec747723457b6722aeb8a3a51 (diff)
use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7329 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_svn_branch_name2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/make_svn_branch_name b/build_tools/make_svn_branch_name
index 484bef585..b3af1492a 100755
--- a/build_tools/make_svn_branch_name
+++ b/build_tools/make_svn_branch_name
@@ -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