Re: portsnap not honoring WORKDIR and PORTSDIR?

2018-04-21 Thread RW via freebsd-ports
On Sat, 21 Apr 2018 16:49:13 -0600
Gary Aitken wrote:

> Is portsnap supposed to honor WORKDIR and PORTSDIR?
> 
> These are defined in /etc/portsnap.conf, and it's not clear to me
> whether they are honored only via the .conf file or whether they
> are supposed to be honored from the environment as well.
> 
> They appear to not be honored from the environment, and I'm wondering
> whether that is deliberate or an oversight that should be corrected.
> 


It's deliberate:


# Initialize parameters to null, just in case they're
# set in the environment.
init_params() {
KEYPRINT=""
EXTRACTPATH=""
WORKDIR=""
PORTSDIR=""
...

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


portsnap not honoring WORKDIR and PORTSDIR?

2018-04-21 Thread Gary Aitken

Is portsnap supposed to honor WORKDIR and PORTSDIR?

These are defined in /etc/portsnap.conf, and it's not clear to me
whether they are honored only via the .conf file or whether they
are supposed to be honored from the environment as well.

They appear to not be honored from the environment, and I'm wondering
whether that is deliberate or an oversight that should be corrected.

Thanks,

Gary
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"