summaryrefslogtreecommitdiff
path: root/contrib/gcc_update
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-23 12:48:39 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-23 12:48:39 +0000
commitb770e72c28caf7fdae9f72e7ae722a65f5854591 (patch)
treefa18f40efdb80b79db3e0019aec9ce8bca6a461b /contrib/gcc_update
parent31cc0495780480a177f6c7023e67e196651af7d0 (diff)
downloadgcc-b770e72c28caf7fdae9f72e7ae722a65f5854591.tar.gz
2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
* 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
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-xcontrib/gcc_update5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/gcc_update b/contrib/gcc_update
index 7eb839dc687..f29dcb60927 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
}"`
{