summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-09 15:35:00 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-09 15:35:00 +0000
commitb6134b3ac84f51c731db41382d73344fbb598257 (patch)
tree3b76609533f4a25ed897d39f397b4981bf1260bc
parenta75342470a6fd070068d091c7c4e2363004f6214 (diff)
downloadgcc-b6134b3ac84f51c731db41382d73344fbb598257.tar.gz
* gcc_update: Use $GCC_SVN to retrieve branch and revision.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187337 138bc75d-0d04-0410-961f-82ee72b054a4
-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 af318aead9c..383e5765a68 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 42a41a2d8df..02897ab90eb 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/,,