[JAVA] /bin/sh portability issues in scripts/check_jni_methods.sh
Tom Tromey
tromey@redhat.com
Fri Aug 18 19:54:00 GMT 2006
>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:
Roger> This patch, or more likely request for help, is the fourth and final
Roger> in the series to enable mainline GCC to be bootstrapped with the native
Roger> /bin/sh on Solaris/x86.
Roger> Now for the admission. This final patch, to
Roger> scripts/check_jni_methods.sh is more of a workaround (hack?)
Roger> than a solution to the portability issues. The problem is that
Roger> this shell script contains the command "set -C" which isn't
Roger> supported by Solaris' sh.
I don't think we need 'set -C' in this script. I think plenty of
other scripts run during the build create temporary files using a
similar approach. I'm just going to completely remove the 'set'.
I'll put this in classpath and svn head libjava.
thanks,
Tom
More information about the Java-patches
mailing list