aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-05-09 15:35:00 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2012-05-09 11:35:00 -0400
commitc75e90f3d8c412382914dd8b2baf81a6982096b0 (patch)
tree3b76609533f4a25ed897d39f397b4981bf1260bc /contrib
parent0d03ac1ba74f1ae9fa71298cc8b275fa0571239b (diff)
downloadgcc-c75e90f3d8c412382914dd8b2baf81a6982096b0.zip
gcc-c75e90f3d8c412382914dd8b2baf81a6982096b0.tar.gz
gcc-c75e90f3d8c412382914dd8b2baf81a6982096b0.tar.bz2
* gcc_update: Use $GCC_SVN to retrieve branch and revision.
From-SVN: r187337
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_update4
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/,,