This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: contrib/gcc_update


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]