contrib/gcc_update currently uses "svn" explicitly to determine the
Revision and Branch instead of the $GCC_SVN shell variable used in
other instances in the script. This patch uses the shell variable in
all instances.

Thanks, David

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

Index: gcc_update
===================================================================
--- gcc_update  (revision 187329)
+++ gcc_update  (working copy)
@@ -372,8 +372,8 @@
            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/,,

Reply via email to