Skip site navigation (1)Skip section navigation (2)
Date:      25 Apr 2000 23:41:59 -0700
From:      asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        Martin Blapp <mb@imp.ch>, freebsd-stable@FreeBSD.ORG, dillon@apollo.backplane.com
Subject:   Re: Linux emulation scripting fix to be committed to 5.x and 4.x    wednesday
Message-ID:  <vqcpurdweh4.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Marcel Moolenaar's message of "Tue, 25 Apr 2000 09:52:26 -0700"
References:  <Pine.SGI.4.10.10004241142310.8470-100000@mephisto.imp.ch> <vqcn1mih26y.fsf@silvia.hip.berkeley.edu> <vqck8hmh196.fsf@silvia.hip.berkeley.edu> <3905CD4A.1C0AB01C@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Marcel Moolenaar <marcel@cup.hp.com>

 * Set LD_LIBRARY_PATH=. before installing.

Wonderful.  I got the installation to work with that.  Thanks!

I had to change the "soffice" script a bit (since this is run straight
from our shell, it's treated as a FreeBSD script) and it's running
fine now on my 3.4-stable machine.  I haven't tested it much but if
someone wants to try, the (absolutely no warranty) patch is in:

  http://people.FreeBSD.org/~asami/linux-script-01.diff

Satoshi
-------
--- ./soffice.org	Mon Feb 21 21:20:00 2000
+++ ./soffice	Tue Apr 25 12:04:51 2000
@@ -17,12 +17,12 @@
 # resolve installation directory
 sd_platform=`uname -s`
 case $sd_platform in
-	SCO_SV) test=/bin/test     ;;
+	SCO_SV|FreeBSD) test=/bin/test     ;;
   	*)      test=/usr/bin/test ;;
 esac
 
 sd_cwd="`pwd`"
-if $test -L "$0" ; then
+if $test -h "$0" ; then
 	sd_basename=`basename $0`
  	sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` 
 else


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcpurdweh4.fsf>