summaryrefslogtreecommitdiff
path: root/contrib/gcc_update
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-03 20:09:38 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-03 20:09:38 +0000
commit0ccc2c9c19563bab92729ff14c0b5726ea205cf3 (patch)
tree90d26ea1ef2f6a8201268107bd84598bc7335675 /contrib/gcc_update
parent2a6493a579df35f164cd186d7d35e2f5e2e2f87f (diff)
downloadgcc-0ccc2c9c19563bab92729ff14c0b5726ea205cf3.tar.gz
2003-03-03 H.J. Lu <hjl@gnu.org>
* gcc_build: Use $GCC_CVS/$CVS instead of cvs. * gcc_update: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-xcontrib/gcc_update4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc_update b/contrib/gcc_update
index cf1cac1b247..a11660e831e 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -37,6 +37,8 @@
# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
+# CVS command
+GCC_CVS=${GCC_CVS-${CVS-cvs}}
# Default options used when updating via CVS.
UPDATE_OPTIONS=-Pd
# Use -P to prune empty directories.
@@ -221,7 +223,7 @@ else
fi
echo "Updating CVS tree"
-cvs -q update ${1+"$@"}
+$GCC_CVS -q update ${1+"$@"}
if [ $? -ne 0 ]; then
(touch_files_reexec)
echo "CVS update of full tree failed." >&2