diff options
author | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | 1999-01-19 13:10:12 +0100 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 1999-01-19 12:10:12 +0000 |
commit | 3243be289f0759772ad24bd507b754bb47f00093 (patch) | |
tree | 744db5c3fd5f9b07111487cf7e2d1206800b436c /contrib | |
parent | 747215f1fe95ae8226b1f2fc2bfd32824a9c66a6 (diff) | |
download | gcc-3243be289f0759772ad24bd507b754bb47f00093.zip gcc-3243be289f0759772ad24bd507b754bb47f00093.tar.gz gcc-3243be289f0759772ad24bd507b754bb47f00093.tar.bz2 |
* egcs_update: Do not use xargs, but a backquote construct.
From-SVN: r24766
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/egcs_update | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 2023d92..382341b 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +1999-01-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * egcs_update: Do not use xargs, but a backquote construct. + 1999-01-07 Alexandre Oliva <oliva@dcc.unicamp.br> * test_summary (version): remove carriage return that gawk inserts diff --git a/contrib/egcs_update b/contrib/egcs_update index e689b2b..8ed7838 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" |