2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2007 12:48:39 +0000 (12:48 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2007 12:48:39 +0000 (12:48 +0000)
* gcc_update: Handle different URL paths and tags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127737 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/gcc_update

index 0f66bd2..7c49c72 100644 (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.
index 7eb839d..f29dcb6 100755 (executable)
@@ -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
 }"`
 {