From b6134b3ac84f51c731db41382d73344fbb598257 Mon Sep 17 00:00:00 2001 From: dje Date: Wed, 9 May 2012 15:35:00 +0000 Subject: [PATCH] * gcc_update: Use $GCC_SVN to retrieve branch and revision. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187337 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/ChangeLog | 4 ++++ contrib/gcc_update | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index af318aead9cc..383e5765a68a 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2012-05-09 David Edelsohn + + * gcc_update: Use $GCC_SVN to retrieve branch and revision. + 2012-05-01 Richard Henderson * gcc_update: Add libatomic generated files. diff --git a/contrib/gcc_update b/contrib/gcc_update index 42a41a2d8dfa..02897ab90eb9 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -372,8 +372,8 @@ case $vcs_type in exit 1 fi - revision=`svn info | awk '/Revision:/ { print $2 }'` - branch=`svn info | sed -ne "/URL:/ { + revision=`$GCC_SVN info | awk '/Revision:/ { print $2 }'` + branch=`$GCC_SVN info | sed -ne "/URL:/ { s,.*/trunk,trunk, s,.*/branches/,, s,.*/tags/,, -- 2.47.2