backport: gcc_update: Use $GCC_SVN to retrieve branch and revision.

Backport from mainline
        2012-05-09  David Edelsohn  <dje.gcc@gmail.com>

        * gcc_update: Use $GCC_SVN to retrieve branch and revision.

From-SVN: r207406
This commit is contained in:
Uros Bizjak 2014-02-02 20:18:29 +01:00 committed by Uros Bizjak
parent 90e4fe7ff1
commit 87a06e2ea4
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-02-02 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline
2012-05-09 David Edelsohn <dje.gcc@gmail.com>
* gcc_update: Use $GCC_SVN to retrieve branch and revision.
2013-04-11 Release Manager
* GCC 4.7.3 released.

View File

@ -367,8 +367,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/,,