* egcs_update: Do not use xargs, but a backquote construct.
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Tue, 19 Jan 1999 12:10:12 +0000 (13:10 +0100)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Tue, 19 Jan 1999 12:10:12 +0000 (12:10 +0000)
From-SVN: r24766

contrib/ChangeLog
contrib/egcs_update

index 2023d928abad5d0879c6894b205e37d220751276..382341b46d5c08ce344ba4a9f9eb130b1c8bb4b6 100644 (file)
@@ -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
index e689b2b8b6dc84ef7fba09e15ca08675c7925f13..8ed783834af2b3719f2a4b04eee1291f0ba1037b 100755 (executable)
@@ -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"