]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
egcs_update: Do the pass 1 CVS update only for files that may reasonably be under...
authorRobert Lipe <robertl@dgii.com>
Thu, 3 Sep 1998 08:12:30 +0000 (08:12 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Thu, 3 Sep 1998 08:12:30 +0000 (08:12 +0000)
* egcs_update: Do the pass 1 CVS update only for files that
may reasonably be under CVS control.
ChangeLog egcs_update

From-SVN: r22205

contrib/ChangeLog
contrib/egcs_update

index b7abdf169585eeb13997b7133a7908cb130f47c0..e457d8227f6bbe2b2ebe8d4af093a3bc2cf14abb 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep  3 10:11:32 1998  Robert Lipe   <robertl@dgii.com>
+
+       * egcs_update: Do the pass 1 CVS update only for files that
+       may reasonably be under CVS control. 
+
 1998-08-14  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * test_installed: new script for testing already-installed
index c2cf2c9deb5cb7327085c6e72a4a93b40f6b34b3..9ebe09083971bab4f24f4cf35d3ea4dcd869b1ec 100755 (executable)
@@ -48,7 +48,14 @@ fi
 
 
 echo "Pass 1: Updating autoconf and bison generated files"
-find . -name configure.in -o -name '*.y' | xargs cvs -q update
+# Do a CVS update on those files that exist in CVS directories.  libg++
+# makes sense to drop into the tree, but it isn't CVS-controlled.
+for i in `find . -name configure.in -o -name '*.y'`
+do
+       D=`dirname $i`/CVS
+       [ -f $i -a  -d $D ]  && echo $i  
+done | xargs cvs -q update
+
 
 echo "Pass 2: Updating full tree"
 cvs -q update ${1+"$@"}