Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 07:29:03 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Richard J Kuhns <rjk@grauel.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Confusing error messages from shell image activation
Message-ID:  <20001212072903.A39876@dragon.nuxi.com>
In-Reply-To: <14902.17037.750115.708141@moriarity.grauel.com>; from rjk@grauel.com on Tue, Dec 12, 2000 at 10:21:49AM -0500
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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