Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 19:10:38 +0100
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        Kevin Golding <kevin@caomhin.demon.co.uk>
Cc:        ports@freebsd.org
Subject:   Re: Patching for PREFIX
Message-ID:  <20030220191038.62fbadd2.corecode@corecode.ath.cx>
In-Reply-To: <vGzPS5BCi6T%2BEw86@caomhin.demon.co.uk>
References:  <vGzPS5BCi6T%2BEw86@caomhin.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.8bC'lUCO+(5Eef
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sun, 16 Feb 2003 15:04:34 +0000
Kevin Golding <kevin@caomhin.demon.co.uk> wrote:

> I'm making a port of some Perl scripts which have the path to a config
> file hard coded into them and I'm wondering what's the best approach.

you could extract the dirname of the binary, remove "/bin" and add
"/etc" :)

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

--=.8bC'lUCO+(5Eef
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+VRoir5S+dk6z85oRAihlAKCpRbo+uEkVMK78doHgf24iP0qwMwCgk6VO
LIKxiLPOfvNHx8QIl4aU/08=
=++xb
-----END PGP SIGNATURE-----

--=.8bC'lUCO+(5Eef--

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?20030220191038.62fbadd2.corecode>