Skip to content
Snippets Groups Projects
Commit b47d9efd authored by H.J. Lu's avatar H.J. Lu Committed by H.J. Lu
Browse files

gcc_build: Use $GCC_CVS/$CVS instead of cvs.

2003-03-03  H.J. Lu <hjl@gnu.org>

	* gcc_build: Use $GCC_CVS/$CVS instead of cvs.
	* gcc_update: Likewise.

From-SVN: r63730
parent 10f4f635
No related branches found
No related tags found
No related merge requests found
2003-03-03 H.J. Lu <hjl@gnu.org>
* gcc_build: Use $GCC_CVS/$CVS instead of cvs.
* gcc_update: Likewise.
2003-01-19 Alexandre Oliva <aoliva@redhat.com> 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
* test_summary (configflags): Only use the first match. Remove * test_summary (configflags): Only use the first match. Remove
......
...@@ -110,7 +110,7 @@ checkout_gcc() { ...@@ -110,7 +110,7 @@ checkout_gcc() {
changedir ${DESTINATION_PARENT} changedir ${DESTINATION_PARENT}
# Checkout the tree # Checkout the tree
cvs -z 9 co -d `basename ${DESTINATION}` gcc || \ $GCC_CVS -z 9 co -d `basename ${DESTINATION}` gcc || \
error "Could not check out GCC" error "Could not check out GCC"
} }
...@@ -209,6 +209,8 @@ install_gcc() { ...@@ -209,6 +209,8 @@ install_gcc() {
# Initialization # Initialization
######################################################################## ########################################################################
# CVS command
GCC_CVS=${GCC_CVS-${CVS-cvs}}
# The CVS server containing the GCC repository. # The CVS server containing the GCC repository.
CVS_SERVER="gcc.gnu.org" CVS_SERVER="gcc.gnu.org"
# The path to the repository on that server. # The path to the repository on that server.
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html # 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. # Default options used when updating via CVS.
UPDATE_OPTIONS=-Pd UPDATE_OPTIONS=-Pd
# Use -P to prune empty directories. # Use -P to prune empty directories.
...@@ -221,7 +223,7 @@ else ...@@ -221,7 +223,7 @@ else
fi fi
echo "Updating CVS tree" echo "Updating CVS tree"
cvs -q update ${1+"$@"} $GCC_CVS -q update ${1+"$@"}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
(touch_files_reexec) (touch_files_reexec)
echo "CVS update of full tree failed." >&2 echo "CVS update of full tree failed." >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment