aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-09-03 08:12:30 +0000
committerRobert Lipe <robertl@gcc.gnu.org>1998-09-03 08:12:30 +0000
commitaecb033930502967ebfddef9067d203121ac6293 (patch)
tree844784851851ce1a9ecd9e9ad12d3915b5a631a8
parentccc7d11a0bf6b47ce22cdf1d0ca37eb454edbe87 (diff)
downloadgcc-aecb033930502967ebfddef9067d203121ac6293.zip
gcc-aecb033930502967ebfddef9067d203121ac6293.tar.gz
gcc-aecb033930502967ebfddef9067d203121ac6293.tar.bz2
egcs_update: Do the pass 1 CVS update only for files that may reasonably be under CVS control.
* egcs_update: Do the pass 1 CVS update only for files that may reasonably be under CVS control. ChangeLog egcs_update From-SVN: r22205
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/egcs_update9
2 files changed, 13 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index b7abdf1..e457d82 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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
diff --git a/contrib/egcs_update b/contrib/egcs_update
index c2cf2c9..9ebe090 100755
--- a/contrib/egcs_update
+++ b/contrib/egcs_update
@@ -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+"$@"}