diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index af318aead9cc6621eff994105d59e24bc1633097..383e5765a68ab634b6620c7cc88e16a645b6e43d 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 42a41a2d8dfa860a8514a31e991aa61d6c578d46..02897ab90eb9d60671a05d49a0110b2be6eeddc8 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/,,