From owner-freebsd-current Tue Dec 12 7:29:13 2000 From owner-freebsd-current@FreeBSD.ORG Tue Dec 12 07:29:10 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id A53D537B402 for ; Tue, 12 Dec 2000 07:29:10 -0800 (PST) Received: from dragon.nuxi.com (Ipittythefoolthattrustsident@trang.nuxi.com [209.152.133.57]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id HAA63675; Tue, 12 Dec 2000 07:29:05 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id eBCFT4d39958; Tue, 12 Dec 2000 07:29:04 -0800 (PST) (envelope-from obrien) Date: Tue, 12 Dec 2000 07:29:03 -0800 From: "David O'Brien" To: Richard J Kuhns Cc: current@FreeBSD.ORG Subject: Re: Confusing error messages from shell image activation Message-ID: <20001212072903.A39876@dragon.nuxi.com> Reply-To: current@FreeBSD.ORG References: <200012110844.TAA29959@shad.au.int.en-bio.com> <14900.57247.45919.615262@moriarity.grauel.com> <20001211110111.B97948@dragon.nuxi.com> <14901.11407.822848.483054@moriarity.grauel.com> <20001211115510.A98498@dragon.nuxi.com> <14902.17037.750115.708141@moriarity.grauel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <14902.17037.750115.708141@moriarity.grauel.com>; from rjk@grauel.com on Tue, Dec 12, 2000 at 10:21:49AM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: obrien@NUXI.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 12, 2000 at 10:21:49AM -0500, Richard J Kuhns wrote: > 2. Applixware v5.0 can be installed anywhere you like as long as you use > the package, but you have to manually edit a shell script. Eg, It is probably too late to fix this, but the script should use this: if ! PREFIX=$(expr $0 : "\(/.*\)/bin/$(basename $0)\$"); then echo "$0: Cannot determine the PREFIX" >&2 exit 1 fi (or maybe only do this if PREFIX isn't in the env) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message