[asterisk-commits] branch 1.2 - r7510 /branches/1.2/build_tools/make_svn_branch_name

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Dec 16 20:20:05 CST 2005


Author: kpfleming
Date: Fri Dec 16 20:20:04 2005
New Revision: 7510

URL: http://svn.digium.com/view/asterisk?rev=7510&view=rev
Log:
fix some buglet when building team branch version strings

Modified:
    branches/1.2/build_tools/make_svn_branch_name

Modified: branches/1.2/build_tools/make_svn_branch_name
URL: http://svn.digium.com/view/asterisk/branches/1.2/build_tools/make_svn_branch_name?rev=7510&r1=7509&r2=7510&view=diff
==============================================================================
--- branches/1.2/build_tools/make_svn_branch_name (original)
+++ branches/1.2/build_tools/make_svn_branch_name Fri Dec 16 20:20:04 2005
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-PARTS=`LANG=C svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/asterisk/:: | sed -e 's:/: :'`
+PARTS=`LANG=C svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/asterisk/:: | sed -e 's:/: :g'`
 BRANCH=0
 TEAM=0
 
@@ -47,4 +47,4 @@
   fi
 done
 
-echo ${RESULT}-r${REV}
+echo ${RESULT##-}-r${REV}



More information about the asterisk-commits mailing list