Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 13:29:39 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How To Set PKG_PATH?
Message-ID:  <20040309212939.GA73681@xor.obsecurity.org>
In-Reply-To: <404DEE2F.3080909@mykitchentable.net>
References:  <404DEE2F.3080909@mykitchentable.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Mar 09, 2004 at 08:17:51AM -0800, Drew Tomlinson wrote:
> Sorry if this has been covered before but I have not been able to find 
> the answer.  Where do I set PKG_PATH so portupgrade will install 
> packages from a local drive instead of attempting to 'fetch'?  I tried 
> adding 'PKG_PATH=/usr/ports/packages' to /etc/make.conf but that doesn't 
> work.  Portupgrade still tries to 'fetch'?

It's an environment variable, set it in your environment :-) Typically
this is done in a script read by your shell at login time: ~/.cshrc or
~/.tcshrc for csh or tcsh, ~/.profile for sh.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFATjdCWry0BWjoQKURAsiUAJ9LTKGwLSSInH8HTPw/tZim75wIPwCg/OsF
g0oFYUdu6s7+JXfwCy02tXE=
=Z+OR
-----END PGP SIGNATURE-----
help

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