gcc_update: Handle different URL paths and tags.

2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc_update: Handle different URL paths and tags.

From-SVN: r127737
This commit is contained in:
H.J. Lu 2007-08-23 12:48:39 +00:00 committed by H.J. Lu
parent f3b45ab712
commit 0cb58062b7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
* gcc_update: Handle different URL paths and tags.
2007-08-16 Alexandre Oliva <aoliva@redhat.com>
* compare-debug: New.

View File

@ -262,8 +262,9 @@ rm -f LAST_UPDATED gcc/REVISION
revision=`svn info | awk '/Revision:/ { print $2 }'`
branch=`svn info | sed -ne "/URL:/ {
s,.*/gcc/,,g
s,branches/,,
s,.*/trunk,trunk,
s,.*/branches/,,
s,.*/tags/,,
p
}"`
{