[Bug java/30838] New: test -ef does not exist under sh

kenta at mit dot edu gcc-bugzilla@gcc.gnu.org
Sun Feb 18 02:02:00 GMT 2007


The file "libjava/classpath/lib/gen-classlist.sh.in", which apparantly
generates
"sparc-sun-solaris2.10/sparcv9/libjava/classpath/lib/gen-classlist.sh", has at
line 58

if test ! "${top_builddir}" -ef "@top_srcdir@"; then

However, the "-ef" operator is not supported by the sh shell under Solaris
(which is the shell specified by the shbang at the head of the generated file),
as documented on man test(1).  (It is supported under bash, and /usr/bin/test
seems to supported it, too, at least in my installation.)


-- 
           Summary: test -ef does not exist under sh
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kenta at mit dot edu
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30838



More information about the Java-prs mailing list