From 1e7d98398a2e8a43248c0ce84d7341c9955af72e Mon Sep 17 00:00:00 2001 From: gerald Date: Tue, 19 Jan 1999 12:10:12 +0000 Subject: * egcs_update: Do not use xargs, but a backquote construct. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24766 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/ChangeLog | 4 ++++ contrib/egcs_update | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 2023d928aba..382341b46d5 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +1999-01-19 Gerald Pfeifer + + * egcs_update: Do not use xargs, but a backquote construct. + 1999-01-07 Alexandre Oliva * test_summary (version): remove carriage return that gawk inserts diff --git a/contrib/egcs_update b/contrib/egcs_update index e689b2b8b6d..8ed783834af 100755 --- a/contrib/egcs_update +++ b/contrib/egcs_update @@ -50,11 +50,12 @@ fi echo "Pass 1: Updating autoconf and bison generated files" # 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'` +X=`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 + D=\`dirname $i\`/CVS + [ -f $i -a -d $D ] && echo $i +done` +cvs -q update $X echo "Pass 2: Updating full tree" -- cgit v1.2.1