OSDN Git Service

* gcc_build: Save the output from CVS into the logfile as well.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Oct 2000 23:04:48 +0000 (23:04 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Oct 2000 23:04:48 +0000 (23:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37136 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/gcc_build

index 09426a8..2ebd692 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-29  Mark Mitchell  <mark@codesourcery.com>
+
+       * gcc_build: Save the output from CVS into the logfile as well.
+
 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
 
        * gcc_build: Fix typos.
index 9cae43d..0a3dd7b 100755 (executable)
@@ -118,7 +118,7 @@ update_gcc() {
     changedir ${DESTINATION}
 
     # Update the tree
-    ./contrib/gcc_update || \
+    (./contrib/gcc_update | tee -a ${LOGFILE}) || \
        error "Could not update GCC"
 }
 
@@ -139,12 +139,12 @@ build_gcc() {
     # Configure the tree.
     (eval ${DESTINATION}/configure ${CONFIGURE_OPTIONS} | 
         tee -a ${LOGFILE}) 2>&1 || \
-       error "Could not configure the compiler"
+       error "Could not configure GCC"
 
     # Bootstrap the compiler
     (eval make ${MAKE_OPTIONS} bootstrap |
        tee -a ${LOGFILE}) 2>&1 || \
-       error "Could not build the compiler"
+       error "Could not build GCC"
 }
 
 # Test GCC.