Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2018 01:04:44 +0100
From:      RW <rwmaillists@googlemail.com>
To:        ports@freebsd.org
Subject:   Re: portsnap not honoring WORKDIR and PORTSDIR?
Message-ID:  <20180422010024.7abcb253@gumby.homeunix.com>
In-Reply-To: <2b38c8d5-b724-a323-4e67-9ac8b807ccfe@dreamchaser.org>
References:  <2b38c8d5-b724-a323-4e67-9ac8b807ccfe@dreamchaser.org>

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




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