PATCH: egcs_update problem
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Tue Jan 19 12:14:00 GMT 1999
On Wed, 13 Jan 1999, Mark Mitchell wrote:
> With the first patch (the one that removes the use of xargs), the
> names of the configure.in files spill across my screen, but there is
> no error message:
The first patch served to check where exactly the problem was, the
second was a fix candidate.
> So I think the second patch is the one that cures the problem.
Yup. I have checked in the patch below which has been tested on
sgi-irix-6.5, sparc-sun-solaris2.6 and i386-unknown-freebsd2.2.7.
Let's hope this does not introduce problems on other platforms.
1999-01-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* egcs_update: Do not use xargs, but a backquote construct.
Index: egcs_update
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/contrib/egcs_update,v
retrieving revision 1.11
retrieving revision 1.12
diff -r1.11 -r1.12
53c53
< for i in `find . -name configure.in -o -name '*.y'`
---
> X=`for i in \`find . -name configure.in -o -name '*.y'\`
55,57c55,58
< 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
More information about the Gcc-bugs
mailing list