diff options
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_update | 4 |
2 files changed, 6 insertions, 2 deletions
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 <dje.gcc@gmail.com> + + * gcc_update: Use $GCC_SVN to retrieve branch and revision. + 2012-05-01 Richard Henderson <rth@redhat.com> * 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/,, |