This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: contrib/gcc_update
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: PATCH: contrib/gcc_update
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 30 Aug 2000 23:56:54 +0200 (CEST)
- cc: gcc-patches at gcc dot gnu dot org
On 30 Aug 2000, Alexandre Oliva wrote:
> Use `(touch_files_reexec)', i.e., run it in a sub-shell, otherwise you
> won't get the error message at the end.
Ah, yes. Thanks for the hint. Here is what I installed:
2000-08-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>,
Alexandre Oliva <aoliva@redhat.com>
* gcc_update: Execute touch_files_reexec even if `cvs update`
failed.
Index: gcc_update
===================================================================
RCS file: /cvs/gcc/egcs/contrib/gcc_update,v
retrieving revision 1.12
diff -c -3 -p -r1.12 gcc_update
*** gcc_update 2000/07/14 06:38:49 1.12
--- gcc_update 2000/08/30 21:54:13
*************** fi
*** 193,198 ****
--- 193,199 ----
echo "Updating CVS tree"
cvs -q update ${1+"$@"}
if [ $? -ne 0 ]; then
+ (touch_files_reexec)
echo "CVS update of full tree failed." >&2
exit 1
fi