aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2007-08-23 12:48:39 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2007-08-23 05:48:39 -0700
commit0cb58062b7fd2307ba67cdc32ad4113bea2265f3 (patch)
treefa18f40efdb80b79db3e0019aec9ce8bca6a461b /contrib
parentf3b45ab7127c8089ebc519fdbc462e63df98f69d (diff)
downloadgcc-0cb58062b7fd2307ba67cdc32ad4113bea2265f3.zip
gcc-0cb58062b7fd2307ba67cdc32ad4113bea2265f3.tar.gz
gcc-0cb58062b7fd2307ba67cdc32ad4113bea2265f3.tar.bz2
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_update5
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 0f66bd2..7c49c72 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
diff --git a/contrib/gcc_update b/contrib/gcc_update
index 7eb839d..f29dcb6 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -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
}"`
{