Date: Mon, 1 Apr 2002 09:38:55 -0600 From: "David W. Chapman Jr." <dwcjr@inethouston.net> To: Sergei Vyshenski <svysh@pn.sinp.msu.ru> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: PREFIX of Apache Message-ID: <20020401153855.GB22921@leviathan.inethouston.net> In-Reply-To: <5.1.0.14.2.20020401191217.00ac5400@vivaldi.pn.sinp.msu.ru> References: <5.1.0.14.2.20020401191217.00ac5400@vivaldi.pn.sinp.msu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 01, 2002 at 07:34:03PM +0400, Sergei Vyshenski wrote: > Dear experts, > > Port apache-1.3.24_1 installs startup script /usr/local/etc/rc.d/apache.sh > with the following lines: > > > if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then > echo "$0: Cannot determine the PREFIX" >&2 > exit 1 > fi > > > This naturally dies with "Cannot determine the PREFIX". > Had to substitute these 4 lines with You don't get this error if you run /usr/local/etc/rc.d/apache/sh start you have to use the path, its the only way to determine the PREFIX from the script. -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. <www.inethouston.net> dwcjr@freebsd.org FreeBSD Committer <www.FreeBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020401153855.GB22921>