[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beta JDK 1.1.2 port for FreeBSD
- To: boia01@xxxxxxxxxxxxx
- Subject: Re: Beta JDK 1.1.2 port for FreeBSD
- From: Jonathan Chen <jonc@xxxxxxxxxxxxxx>
- Date: Fri, 12 Dec 1997 17:55:32 +1300 (NZDT)
- Cc: freebsd-java@xxxxxxxxxxx
- In-reply-to: <Pine.BSF.3.95q.971209225433.325O-100000@xxxxxxxxxxxxxxxxxxx>
- Sender: owner-java@xxxxxxxxxxx
Hi,
It may be an idea to apply the following patch to .java_wrapper so
that installing jdk1.1.2 will run `out-of-box', instead of requiring
installation of additional packages. Nothing major, just a change of
shell so that /bin/sh is used instead of /usr/local/bin/ksh.
Cheers.
--
Jonathan Chen <jonc@xxxxxxxxxxxxxx>
----------------------------------------------------------------------
Experience is a hard teacher
because she gives the test first, the lesson afterwards
----------------------------------------------------------------------
*** .java_wrapper.old Fri Dec 12 17:39:35 1997
--- .java_wrapper Fri Dec 12 17:39:54 1997
***************
*** 1,4 ****
! #! /usr/local/public/bin/ksh
#
# @(#)java_wrapper.sh 1.29 97/05/14
#
--- 1,4 ----
! #! /bin/sh
#
# @(#)java_wrapper.sh 1.29 97/05/14
#
***************
*** 8,14 ****
# Set up default variable values if not supplied by the user.
! PRG=`whence $0` >/dev/null 2>&1
J_HOME=`dirname $PRG`/..
progname=`basename $0`
--- 8,14 ----
# Set up default variable values if not supplied by the user.
! PRG=$0
J_HOME=`dirname $PRG`/..
progname=`basename $0`