[JAVA] /bin/sh portability issues in gen-classlist.sh.in

Tom Tromey tromey@redhat.com
Fri Aug 18 20:50:00 GMT 2006


>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:

Finally getting to these patches...

Roger> The first pair of issues is in libjava/classpath/lib/gen-classlist.sh.in
Roger> which uses test's "-ef" and "-e" operators which aren't available on
Roger> Solaris.  Many thanks to Ian Lance Taylor for recommending the more
Roger> portable idiom used below.

Roger> Ok for mainline?

It is fine by me, but I wanted to ask first whether Paolo's objection
(directories with spaces) needed to be addressed first.  Do we support
that?

Whatever we decide, I'll commit the result to Classpath...

Tom



More information about the Gcc-patches mailing list