It's a bug. Try the enclosed patch to common.make and see if it works.

-- 
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
[EMAIL PROTECTED]  http://www.doc.com     | something hard enough, and it 
[EMAIL PROTECTED]  http://www.gnustep.org | will fall over.
? opentool
? common.patch
? ttt
Index: common.make
===================================================================
RCS file: /gnustep/gnustep/core/make/common.make,v
retrieving revision 1.53
diff -c -r1.53 common.make
*** common.make 2000/08/07 22:06:03     1.53
--- common.make 2000/09/06 23:00:18
***************
*** 343,349 ****
    ifeq ($(JDK_HOME),)
      # Else, try by finding the path of javac and removing 'bin/javac' from it
      ifeq ($(JAVAC),)
!       JAVA_HOME = $(shell which javac | sed "s/bin\/javac//g")
      else # $(JAVAC) != "" 
        JAVA_HOME = $(shell which $(JAVAC) | sed "s/bin\/javac//g")
      endif  
--- 343,349 ----
    ifeq ($(JDK_HOME),)
      # Else, try by finding the path of javac and removing 'bin/javac' from it
      ifeq ($(JAVAC),)
!       JAVA_HOME = $(shell which javac && which javac | sed "s/bin\/javac//g")
      else # $(JAVAC) != "" 
        JAVA_HOME = $(shell which $(JAVAC) | sed "s/bin\/javac//g")
      endif  

Reply via email to