diff mbox

gcc_update explicit use of "svn"

Message ID CAGWvnykzuY+jihmNH3LG7hqTkNq2Gdk4mM99+AP3yOhLmohkPQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn May 9, 2012, 3:33 p.m. UTC
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.
diff mbox

Patch

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/,,