From c75e90f3d8c412382914dd8b2baf81a6982096b0 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 9 May 2012 15:35:00 +0000 Subject: * gcc_update: Use $GCC_SVN to retrieve branch and revision. From-SVN: r187337 --- contrib/ChangeLog | 4 ++++ contrib/gcc_update | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/ChangeLog b/contrib/ChangeLog index af318ae..383e576 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 42a41a2..02897ab 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/,, -- cgit v1.1