From: Gerald Pfeifer Date: Tue, 19 Jan 1999 12:10:12 +0000 (+0100) Subject: * egcs_update: Do not use xargs, but a backquote construct. X-Git-Tag: prereleases/libgcj-0.1~1259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3243be289f0759772ad24bd507b754bb47f00093;p=thirdparty%2Fgcc.git * egcs_update: Do not use xargs, but a backquote construct. From-SVN: r24766 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 2023d928abad..382341b46d5c 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 e689b2b8b6dc..8ed783834af2 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"