diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-10-29 23:04:48 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-10-29 23:04:48 +0000 |
commit | d3d6410dbf64915af53999c4f715eb023bc7d441 (patch) | |
tree | 03c581985acb4953d323611cd2be107d57937f92 /contrib | |
parent | 1641a8238a9e7b4abccef627c6641aa20c3fbf92 (diff) | |
download | gcc-d3d6410dbf64915af53999c4f715eb023bc7d441.zip gcc-d3d6410dbf64915af53999c4f715eb023bc7d441.tar.gz gcc-d3d6410dbf64915af53999c4f715eb023bc7d441.tar.bz2 |
* gcc_build: Save the output from CVS into the logfile as well.
From-SVN: r37136
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_build | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 09426a8..2ebd692 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -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. diff --git a/contrib/gcc_build b/contrib/gcc_build index 9cae43d..0a3dd7b 100755 --- a/contrib/gcc_build +++ b/contrib/gcc_build @@ -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. |