This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gcc_update explicit use of "svn"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]