This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/30838] New: test -ef does not exist under sh
- From: "kenta at mit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 18 Feb 2007 02:02:19 -0000
- Subject: [Bug java/30838] New: test -ef does not exist under sh
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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